com.softwareag.centrasite.appl.framework.managers
Class ManagerException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.softwareag.centrasite.appl.framework.CSAppFrameworkException
              extended by com.softwareag.centrasite.appl.framework.managers.ManagerException
All Implemented Interfaces:
java.io.Serializable

public class ManagerException
extends CSAppFrameworkException

Managers are suggested to throw an instance of this exception. This is used to distinguish low level errors (for example, instances of JAXRException, which are encapsulated into an instance of MappingException) from semantic errors.

See Also:
Serialized Form

Constructor Summary
ManagerException(java.lang.String pMessage)
          Creates a new instance with the given detail message and no cause.
ManagerException(java.lang.String pMessage, java.lang.Throwable pCause)
          Creates a new instance with the given detail message and cause.
ManagerException(java.lang.Throwable pCause)
          Creates a new instance with the given cause.
 
Method Summary
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ManagerException

public ManagerException(java.lang.String pMessage,
                        java.lang.Throwable pCause)
Creates a new instance with the given detail message and cause.

Parameters:
pMessage - The detail message.
pCause - The exceptions cause.

ManagerException

public ManagerException(java.lang.String pMessage)
Creates a new instance with the given detail message and no cause.

Parameters:
pMessage - The detail message.

ManagerException

public ManagerException(java.lang.Throwable pCause)
Creates a new instance with the given cause. The detail message is obtained by invoking Throwable.getMessage() on the cause.