org.sixdml.xindice
Class ErrorMessages

java.lang.Object
  |
  +--org.sixdml.xindice.ErrorMessages

public class ErrorMessages
extends Object

  
 ErrorMessages.java

 This class holds error messages that are used when exceptions are thrown. 

 Created: Sat Jan 12 00:26:39 2002

 

Version:
1.0
Author:
Dare Obasanjo

Field Summary
static String BAD_UPDATE_ATTEMPT
          Displayed when an update operation would result in a document that is not well-formed.
static String BAD_URI
          Displayed when a URI to a collection or resource is malformed.
static String CANT_REPLACE_ATTRIBUTE
          Displayed when an attempt is made to replace an attribute.
static String COLLECTION_CLOSED
          Displayed when an operation is invoked against an xlnSixdmlCollection instance that has been closed.
static int DUPLICATE_COLLECTION
          An error code that an attempt has been made to create a collection that already exists.
static String MULTIPLE_ROOT_ELEMENTS
          Displayed if an attempt is made to create multiple document roots via an insertion operation.
static String NO_SUCH_COLLECTION
          Displayed when an attempt is made to retrieve a non-existent collection.
static String NO_SUCH_RESOURCE
          Displayed when an attempt is made to perform an operation on a Resource that doesn't exist in that context.
static String NODES_NOT_RETURNED
          Displayed when an XPath query that is supposed to be used as a source for update operations does not return nodes.
static String NOT_IMPLEMENTED
          Displayed when an attempt is made to utilize a feature that has not been implemented.
static String PERMISSION_DENIED_INDEX
          Displayed when an attempt is made to access the index data for a collection without going through the index manipulation methods.
static String PERMISSION_DENIED_SCHEMA
          Displayed when an attempt is made to access the schema for a collection without going through the schema access methods.
static String RENAME_ERROR
          Displayed when an attempt is made to rename a node that isn't an element or attribute node.
static String UNKNOWN_RESOURCE_TYPE
          Displayed when the resource type requested is unknown to the API implementation.
static String VALIDATION_ERROR
          Displayed when a validation error occurs when attempting to store a document in a collection.
static String WRONG_CONTENT_TYPE_ELEM_NODE
          Displayed when an attempt is made to initialize a resource from a DOM node that is not an Element node.
static String WRONG_CONTENT_TYPE_STORE
          Displayed when an attempt is made to store a document in a collection that has a child collection with the the same name.
static String WRONG_VERSION
          Displayed when an attempt is made to invoke a service using the wrong version number.
static String XINDICE_ERROR
          Displayed when an error occured in accessing the underlying DXE excelon database.
 
Constructor Summary
ErrorMessages()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

BAD_URI

public static final String BAD_URI
Displayed when a URI to a collection or resource is malformed.

COLLECTION_CLOSED

public static final String COLLECTION_CLOSED
Displayed when an operation is invoked against an xlnSixdmlCollection instance that has been closed.

UNKNOWN_RESOURCE_TYPE

public static final String UNKNOWN_RESOURCE_TYPE
Displayed when the resource type requested is unknown to the API implementation.

PERMISSION_DENIED_SCHEMA

public static final String PERMISSION_DENIED_SCHEMA
Displayed when an attempt is made to access the schema for a collection without going through the schema access methods.

PERMISSION_DENIED_INDEX

public static final String PERMISSION_DENIED_INDEX
Displayed when an attempt is made to access the index data for a collection without going through the index manipulation methods.

NO_SUCH_RESOURCE

public static final String NO_SUCH_RESOURCE
Displayed when an attempt is made to perform an operation on a Resource that doesn't exist in that context. Prime example is trying to delete a Resource from a Collection that isn't it's parent collection.

WRONG_CONTENT_TYPE_STORE

public static final String WRONG_CONTENT_TYPE_STORE
Displayed when an attempt is made to store a document in a collection that has a child collection with the the same name.

XINDICE_ERROR

public static final String XINDICE_ERROR
Displayed when an error occured in accessing the underlying DXE excelon database.

WRONG_CONTENT_TYPE_ELEM_NODE

public static final String WRONG_CONTENT_TYPE_ELEM_NODE
Displayed when an attempt is made to initialize a resource from a DOM node that is not an Element node.

NOT_IMPLEMENTED

public static final String NOT_IMPLEMENTED
Displayed when an attempt is made to utilize a feature that has not been implemented.

NODES_NOT_RETURNED

public static final String NODES_NOT_RETURNED
Displayed when an XPath query that is supposed to be used as a source for update operations does not return nodes.

BAD_UPDATE_ATTEMPT

public static final String BAD_UPDATE_ATTEMPT
Displayed when an update operation would result in a document that is not well-formed.

MULTIPLE_ROOT_ELEMENTS

public static final String MULTIPLE_ROOT_ELEMENTS
Displayed if an attempt is made to create multiple document roots via an insertion operation.

RENAME_ERROR

public static final String RENAME_ERROR
Displayed when an attempt is made to rename a node that isn't an element or attribute node.

NO_SUCH_COLLECTION

public static final String NO_SUCH_COLLECTION
Displayed when an attempt is made to retrieve a non-existent collection.

VALIDATION_ERROR

public static final String VALIDATION_ERROR
Displayed when a validation error occurs when attempting to store a document in a collection.

CANT_REPLACE_ATTRIBUTE

public static final String CANT_REPLACE_ATTRIBUTE
Displayed when an attempt is made to replace an attribute.

WRONG_VERSION

public static final String WRONG_VERSION
Displayed when an attempt is made to invoke a service using the wrong version number.

DUPLICATE_COLLECTION

public static final int DUPLICATE_COLLECTION
An error code that an attempt has been made to create a collection that already exists.
Constructor Detail

ErrorMessages

public ErrorMessages()