Package org.apache.el.util
Class ExceptionUtils
- java.lang.Object
-
- org.apache.el.util.ExceptionUtils
-
public class ExceptionUtils extends java.lang.ObjectUtilities for handling Throwables and Exceptions.
-
-
Constructor Summary
Constructors Constructor Description ExceptionUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidhandleThrowable(java.lang.Throwable t)Checks whether the supplied Throwable is one that needs to be rethrown and swallows all others.static voidpreload()NO-OP method provided to enable simple pre-loading of this class.
-
-
-
Method Detail
-
handleThrowable
public static void handleThrowable(java.lang.Throwable t)
Checks whether the supplied Throwable is one that needs to be rethrown and swallows all others.- Parameters:
t- the Throwable to check
-
preload
public static void preload()
NO-OP method provided to enable simple pre-loading of this class. Since the class is used extensively in error handling, it is prudent to pre-load it to avoid any failure to load this class masking the true problem during error handling.
-
-