Class ExceptionUtils

java.lang.Object
com.github.tix320.skimp.api.exception.ExceptionUtils

public class ExceptionUtils extends Object
Author:
Tigran Sargsyan on 23-Jun-20.
  • Constructor Details

    • ExceptionUtils

      public ExceptionUtils()
  • Method Details

    • applyToUncaughtExceptionHandler

      public static void applyToUncaughtExceptionHandler(Throwable t)
    • appendStacktraceToThrowable

      public static void appendStacktraceToThrowable(Throwable throwable, StackTraceElement[] asyncRunnerStackTrace)
    • sneakyThrow

      public static <T extends Throwable> void sneakyThrow(Throwable e) throws T
      Throws:
      T extends Throwable