Class ExceptionUtil

java.lang.Object
org.zeroturnaround.exec.close.ExceptionUtil

class ExceptionUtil extends Object
  • Field Details

    • METHOD_ADD_SUPPRESSED

      private static final Method METHOD_ADD_SUPPRESSED
      Throwable.addSuppressed(Throwable) added in Java 7.
  • Constructor Details

    • ExceptionUtil

      ExceptionUtil()
  • Method Details

    • findAddSuppressed

      private static Method findAddSuppressed()
    • addSuppressed

      public static void addSuppressed(Throwable t, Throwable suppressed)
      If supported. appends the specified exception to the exceptions that were suppressed in order to deliver this exception.