com.ibm.xdms.exception.xcap
Class ConstraintFailureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.servlet.ServletException
com.ibm.xdms.exception.XdmsException
com.ibm.xdms.exception.xcap.XcapException
com.ibm.xdms.exception.xcap.ConstraintFailureException
- All Implemented Interfaces:
- java.io.Serializable
public class ConstraintFailureException
- extends XcapException
Exception which indicates that the requested operation would result in a
document that failed a data constraint defined by the application usage, but
not enforced by the schema or a uniqueness constraint.
- See Also:
- Serialized Form
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 |
ConstraintFailureException
public ConstraintFailureException()
- Constructor, with no phrase attribute
ConstraintFailureException
public ConstraintFailureException(java.lang.String phrase)
- Constructor, with a phrase attribute
- Parameters:
phrase
- Value for the not-well-formed element's phrase attribute
ConstraintFailureException
public ConstraintFailureException(int statusCode)
- Constructor, with no phrase attribute
- Parameters:
statusCode
- The status code to use.
ConstraintFailureException
public ConstraintFailureException(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