com.stellent.cis.common.exception
Class BaseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.stellent.cis.common.exception.BaseException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- CommandException, ParameterValidationException, SCSException, SISException
public class BaseException
- extends java.lang.Exception
Base exception class that keeps a chain of parent exceptions. Can be used on non JDK 1.4 environments.
- See Also:
- Serialized Form
Method Summary |
boolean |
isWrapper()
Determines if this exception just holds another exception and provides no more contextual information. |
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 |
m_isWrapper
protected boolean m_isWrapper
BaseException
public BaseException()
BaseException
public BaseException(java.lang.String message)
BaseException
public BaseException(java.lang.String message,
java.lang.Throwable cause)
BaseException
public BaseException(java.lang.Throwable cause)
isWrapper
public boolean isWrapper()
- Determines if this exception just holds another exception and provides no more contextual information. Useful
for displaying error messages without the command stack trace; i.e.
- Returns:
- true if this is a wrapper exception