Package org.eclipse.xtext.util
Class Exceptions
- java.lang.Object
-
- org.eclipse.xtext.util.Exceptions
-
public class Exceptions extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Exceptions()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addSuppressed(java.lang.Throwable owner, java.lang.Throwable add)
InvokeThrowable#addSuppressed(Throwable)
reflectively if it is available.static <T> T
throwUncheckedException(java.lang.Throwable e)
-
-
-
Method Detail
-
throwUncheckedException
public static <T> T throwUncheckedException(java.lang.Throwable e)
-
addSuppressed
public static void addSuppressed(java.lang.Throwable owner, java.lang.Throwable add)
InvokeThrowable#addSuppressed(Throwable)
reflectively if it is available. It is not available on JRE < 1.7- Since:
- 2.8
-
-