org.apache.webbeans.util
Class ExceptionUtil
java.lang.Object
org.apache.webbeans.util.ExceptionUtil
public abstract class ExceptionUtil
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
throwAsRuntimeException
public static RuntimeException throwAsRuntimeException(Throwable throwable)
- Throws the given Exception as RuntimeException
- Returns:
- null; this is just for IDEs to allow them detect the end of the control flow
currentStack
public static String currentStack()
- This is for debugging/logging purpose only!
- Returns:
- The stack trace of the current Thread.
addInformation
public static RuntimeException addInformation(RuntimeException e,
String additionalinfo)
Copyright © 2008–2015 The Apache Software Foundation. All rights reserved.