org.sandev.basics.structs
Class SandException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.sandev.basics.structs.SandException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- AuthorizationException, ConfigException, ControlException, ControlWrapperException, DuplicateReferenceException, LoggerException, MailException, MessagerException, PersisterException, SandEncryptorException, SerializerException, StringPersistConverterException, UIFormAdaptorException, UIFormManagerException
public class SandException
- extends java.lang.Exception
General SAND environment exception class.
Messaging, persistence, configuration, control, UI, and the general
framework all leverage generated code, which in many cases can be
overridden by the application. If, during normal processing, the
application encounters a framework problem, it should always be able
to let that problem trickle up to be handled by the framework
automatically. This can be difficult to declare without having to
deal with framework specific declarations, which have a tendency to
grow and combine with some calls. By having all SAND environment
exceptions extend from this common base, it simplifies the override
semantics for all involved.
- See Also:
- Serialized Form
|
Method Summary |
static java.lang.Throwable |
getRootCause(java.lang.Throwable t)
Return the throwable that started it all. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SandException
public SandException()
SandException
public SandException(java.lang.String msg)
SandException
public SandException(java.lang.String msg,
java.lang.Throwable cause)
SandException
public SandException(java.lang.Throwable cause)
getRootCause
public static java.lang.Throwable getRootCause(java.lang.Throwable t)
- Return the throwable that started it all.