Package org.zeroturnaround.exec.close
Class ExceptionUtil
- java.lang.Object
-
- org.zeroturnaround.exec.close.ExceptionUtil
-
class ExceptionUtil extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.reflect.Method
METHOD_ADD_SUPPRESSED
Throwable.addSuppressed(Throwable) added in Java 7.
-
Constructor Summary
Constructors Constructor Description ExceptionUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addSuppressed(java.lang.Throwable t, java.lang.Throwable suppressed)
If supported.private static java.lang.reflect.Method
findAddSuppressed()
-
-
-
Method Detail
-
findAddSuppressed
private static java.lang.reflect.Method findAddSuppressed()
-
addSuppressed
public static void addSuppressed(java.lang.Throwable t, java.lang.Throwable suppressed)
If supported. appends the specified exception to the exceptions that were suppressed in order to deliver this exception.
-
-