com.ibm.xdms.exception.sip
Class DocumentNotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.servlet.ServletException
              extended by com.ibm.xdms.exception.XdmsException
                  extended by com.ibm.xdms.exception.sip.SipException
                      extended by com.ibm.xdms.exception.sip.DocumentNotFoundException
All Implemented Interfaces:
java.io.Serializable

public class DocumentNotFoundException
extends SipException

Document is not found exception.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
           
static java.lang.String DEFAULT_MESSAGE
           
protected static java.util.logging.Logger LOGGER
          Logger
static int STATUS_CODE
           
static java.lang.String SUBSCRIPTION_STATE
           
 
Fields inherited from class com.ibm.xdms.exception.sip.SipException
statusCode, subcriptionState
 
Fields inherited from class com.ibm.xdms.exception.XdmsException
hasSetResponse
 
Constructor Summary
DocumentNotFoundException()
          Constructs a new SIP exception
DocumentNotFoundException(java.lang.String message)
          Constructs a new SIP exception with the specified message
DocumentNotFoundException(java.lang.String message, java.lang.Throwable rootCause)
          Constructs a new SIP exception when the XDMS needs to throw an exception and include a message about the "root cause" exception that interfered with its normal operation, including a description message
DocumentNotFoundException(java.lang.Throwable rootCause)
          Constructs a new SIP exception when the XDMS needs to throw an exception and include a message about the "root cause" exception that interfered with its normal operation.
 
Method Summary
 
Methods inherited from class com.ibm.xdms.exception.sip.SipException
getStatusCode, getSubcriptionState, setupResponse
 
Methods inherited from class com.ibm.xdms.exception.XdmsException
createLocalizedMessage, createLocalizedXdmsException, createServerMessage, createServerXdmsException, setupResponse
 
Methods inherited from class javax.servlet.ServletException
getRootCause
 
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

COPYRIGHT

public static final java.lang.String COPYRIGHT

LOGGER

protected static final java.util.logging.Logger LOGGER
Logger


STATUS_CODE

public static final int STATUS_CODE
See Also:
Constant Field Values

SUBSCRIPTION_STATE

public static final java.lang.String SUBSCRIPTION_STATE
See Also:
Constant Field Values

DEFAULT_MESSAGE

public static final java.lang.String DEFAULT_MESSAGE
See Also:
Constant Field Values
Constructor Detail

DocumentNotFoundException

public DocumentNotFoundException()
Constructs a new SIP exception


DocumentNotFoundException

public DocumentNotFoundException(java.lang.String message)
Constructs a new SIP exception with the specified message

Parameters:
message - a String specifying the text of the exception message

DocumentNotFoundException

public DocumentNotFoundException(java.lang.String message,
                                 java.lang.Throwable rootCause)
Constructs a new SIP exception when the XDMS needs to throw an exception and include a message about the "root cause" exception that interfered with its normal operation, including a description message

Parameters:
message - a String specifying the text of the exception message
rootCause - the Throwable exception that interfered with the XDMS's normal operation, making this XDMS exception necessary

DocumentNotFoundException

public DocumentNotFoundException(java.lang.Throwable rootCause)
Constructs a new SIP exception when the XDMS needs to throw an exception and include a message about the "root cause" exception that interfered with its normal operation. The exception's message is based on the localized message of the underlying exception.
This method calls the getLocalizedMessage method on the Throwable exception to get a localized exception message.

Parameters:
rootCause - the Throwable exception that interfered with the XDMS's normal operation, making this XDMS exception necessary