Class Exceptions

java.lang.Object
it.auties.whatsapp.util.Exceptions

public final class Exceptions extends Object
  • Field Details

    • DEFAULT_DIRECTORY

      private static final Path DEFAULT_DIRECTORY
  • Constructor Details

    • Exceptions

      private Exceptions()
  • Method Details

    • current

      public static Throwable current(String message)
    • currentStackTrace

      private static StackTraceElement[] currentStackTrace()
    • save

      public static void save(Throwable throwable)
    • save

      public static void save(Path directory, Throwable throwable)
    • rethrow

      public static void rethrow(Throwable throwable)
    • toRuntimeException

      private static <T extends Throwable> T toRuntimeException(Throwable t) throws T
      Throws:
      T