com.stellent.cis.common.exception
Class BaseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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

Field Summary
protected  boolean m_isWrapper
           
 
Constructor Summary
BaseException()
           
BaseException(java.lang.String message)
           
BaseException(java.lang.String message, java.lang.Throwable cause)
           
BaseException(java.lang.Throwable cause)
           
 
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
 

Field Detail

m_isWrapper

protected boolean m_isWrapper
Constructor Detail

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)
Method Detail

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