Class ExceptionUtil

java.lang.Object
org.apache.webbeans.util.ExceptionUtil

public abstract class ExceptionUtil extends Object
  • Method Details

    • 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)