com.ibm.xdms.exception.xcap
Class CannotInsertException

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.xcap.XcapException
                      extended by com.ibm.xdms.exception.xcap.CannotInsertException
All Implemented Interfaces:
java.io.Serializable

public class CannotInsertException
extends XcapException

Exception which indicates that the requested PUT operation could not be performed because a GET of that resource after the PUT would not yield the content of the PUT request.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
           
 
Fields inherited from class com.ibm.xdms.exception.xcap.XcapException
BASE_ERROR_DOC, BASE_ERROR_DOC_PREFIX, BASE_ERROR_DOC_SUFFIX, CONTENT_TYPE_XCAP_ERROR, errorDocumentLock, LOGGER
 
Fields inherited from class com.ibm.xdms.exception.XdmsException
hasSetResponse
 
Constructor Summary
CannotInsertException()
          Constructor, with no phrase attribute
CannotInsertException(int statusCode)
          Constructor, with no phrase attribute
CannotInsertException(int statusCode, java.lang.String phrase)
          Constructor, with a phrase attribute
CannotInsertException(java.lang.String phrase)
          Constructor, with a phrase attribute
 
Method Summary
 
Methods inherited from class com.ibm.xdms.exception.xcap.XcapException
createBaseErrorDocument, getContentType, getErrorDocument, getErrorDocumentAsString, getStatusCode, setErrorElement, setErrorElement, setErrorElementNS, setErrorElementNS, 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
Constructor Detail

CannotInsertException

public CannotInsertException()
Constructor, with no phrase attribute


CannotInsertException

public CannotInsertException(java.lang.String phrase)
Constructor, with a phrase attribute

Parameters:
phrase - Value for the not-well-formed element's phrase attribute

CannotInsertException

public CannotInsertException(int statusCode)
Constructor, with no phrase attribute

Parameters:
statusCode - The status code to use.

CannotInsertException

public CannotInsertException(int statusCode,
                             java.lang.String phrase)
Constructor, with a phrase attribute

Parameters:
statusCode - The status code to use.
phrase - Value for the not-well-formed element's phrase attribute