com.softwareag.centrasite.appl.framework.persistence.mapper
Class MappingException

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.persistence.mapper.MappingException
All Implemented Interfaces:
java.io.Serializable

public class MappingException
extends CSAppFrameworkException

PersistenceEngine and mapping classes are supposed to throw instances of this class in case of internal errors. Such errors are typically encapsulating lower level errors, for example instances of JAXRException.

See Also:
Serialized Form

Constructor Summary
MappingException(java.lang.String pMessage)
          Creates a new instance with the given detail message and no cause.
MappingException(java.lang.String pMessage, java.lang.Throwable pCause)
          Creates a new instance with the given detail message and cause.
MappingException(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

MappingException

public MappingException(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.

MappingException

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

Parameters:
pMessage - The detail message.

MappingException

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