private static boolean isException(@NotNull ArrayReference result) {
    final ReferenceType type = result.referenceType();
    if (type instanceof ArrayType) {
      if (((ArrayType)type).componentTypeName().contains("Throwable")) {
        return true;
      }
    }

    return false;
  }
private static boolean isException(@NotNull ArrayReference result)