com.ibm.xdms.exception.xcap
Class NoParentException

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

public class NoParentException
extends XcapException

Exception which indicates that an attempt to insert an element, attribute or document failed because the document or element into which the insertion was supposed to occur does not exist.

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
NoParentException()
          Constructor
NoParentException(java.lang.String ancestor)
          Constructor
NoParentException(java.lang.String ancestor, java.lang.String phrase)
          Constructor
 
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

NoParentException

public NoParentException(java.lang.String ancestor,
                         java.lang.String phrase)
Constructor

Parameters:
ancestor - Optional ancestor URI
phrase - Optional phrase attribute

NoParentException

public NoParentException()
Constructor


NoParentException

public NoParentException(java.lang.String ancestor)
Constructor

Parameters:
ancestor - Optional ancestor URI