Package org.apache.webbeans.util
Class ExceptionUtil
java.lang.Object
org.apache.webbeans.util.ExceptionUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic RuntimeExceptionaddInformation(RuntimeException e, String additionalinfo) static StringThis is for debugging/logging purpose only!static RuntimeExceptionthrowAsRuntimeException(Throwable throwable) Throws the given Exception as RuntimeException
-
Method Details
-
throwAsRuntimeException
Throws the given Exception as RuntimeException- Returns:
- null; this is just for IDEs to allow them detect the end of the control flow
-
currentStack
This is for debugging/logging purpose only!- Returns:
- The stack trace of the current Thread.
-
addInformation
-