@NlsSafe
  @Nullable
  public static String getMessage(@Nullable Throwable throwable) {
    if (throwable == null) return null;
    String message = throwable.getMessage();
    if (message != null) return message;
    return throwable.getLocalizedMessage();
  }
@NlsSafe
  @Nullable
  public static String getMessage(@Nullable Throwable throwable)