org.xmldb.api.base
public class ErrorCodes extends Object
errorCodes
attribute of an XMLDBException
Field Summary | |
---|---|
static int | COLLECTION_CLOSED
Set when an operation is invoked against a Collection
instance that has been closed. |
static int | INVALID_COLLECTION
Set if the Collection instance is in an invalid state. |
static int | INVALID_DATABASE
Set if the Database instance being registered is invalid. |
static int | INVALID_RESOURCE
Set if the Resource provided to an operation is invalid. |
static int | INVALID_URI
Set if the URI format is invalid. |
static int | NOT_IMPLEMENTED
Set if the API implementation does not support the operation being
invoked. |
static int | NO_SUCH_COLLECTION
Set if the requested Collection could not be located. |
static int | NO_SUCH_DATABASE
Set if a Database instance can not be located for the
provided URI. |
static int | NO_SUCH_RESOURCE
Set if the requested Resource could not be located. |
static int | NO_SUCH_SERVICE
Set if the requested Service could not be located. |
static int | PERMISSION_DENIED
Set if access to the requested Collection can not be granted
due to the lack of proper credentials. |
static int | UNKNOWN_ERROR
Set when a more detailed error can not be determined. |
static int | UNKNOWN_RESOURCE_TYPE
Set if the resource type requested is unknown to the API implementation. |
static int | VENDOR_ERROR
Set when a vendor specific error has occured. |
static int | WRONG_CONTENT_TYPE
Set if the content of a Resource is set to a content type
different then that for which the Resource was intended to
support. |
Collection
instance that has been closed.Database
instance being registered is invalid.Resource
provided to an operation is invalid.Collection
could not be located.Database
instance can not be located for the
provided URI.Resource
could not be located.Service
could not be located.Collection
can not be granted
due to the lack of proper credentials.Resource
is set to a content type
different then that for which the Resource
was intended to
support.