Package xal.tools
Class ExceptionWrapper
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
xal.tools.ExceptionWrapper
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
XmlDataAdaptor.CreationException
,XmlDataAdaptor.ParseException
,XmlDataAdaptor.ResourceNotFoundException
,XmlDataAdaptor.WriteException
Convenience class to wrap an exception with a runtime exception so exception
handling isn't so irritating. This method was implemented before Java
supported exception causes. It has been updated to use the new support and
this class remains for backward compatibility.
- Author:
- tap
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ExceptionWrapper
Creates new ExceptionWrapper
-
-
Method Details
-
rootException
Get the root cause- Returns:
- the root cause
-