com.ibm.workplace.wcm.api.exceptions
Class DuplicateMappingException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.ibm.workplace.wcm.api.exceptions.WCMException
                    |
                    +--com.ibm.workplace.wcm.api.exceptions.DuplicateMappingException
All Implemented Interfaces:
java.io.Serializable

public class DuplicateMappingException
extends WCMException

This exception is thrown if the AuthoringTemplate to PresentationTemplate mapping already exists for the Document.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ibm.workplace.wcm.api.exceptions.WCMException
ERR_APTRIX
 
Constructor Summary
DuplicateMappingException()
          Constructor.
DuplicateMappingException(java.lang.String msg)
          Constructs a new exception with the given message.
DuplicateMappingException(java.lang.String detail, java.lang.Throwable cause)
          Constructor that requires detail plus a cause exception
 
Methods inherited from class com.ibm.workplace.wcm.api.exceptions.WCMException
getCause, getErrorCode, getMessage, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DuplicateMappingException

public DuplicateMappingException()
Constructor.


DuplicateMappingException

public DuplicateMappingException(java.lang.String msg)
Constructs a new exception with the given message.

Parameters:
msg - the message

DuplicateMappingException

public DuplicateMappingException(java.lang.String detail,
                                 java.lang.Throwable cause)
Constructor that requires detail plus a cause exception

Parameters:
detail - a message description extra information about the exception
cause - the exception that caused this exception