org.sixdml.excelon
Class ErrorMessages

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

public class ErrorMessages
extends java.lang.Object

  
 ErrorMessages.java

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

 Created: Sat Jan 12 00:26:39 2002

 


Field Summary
static java.lang.String BAD_UPDATE_ATTEMPT
          Displayed when an update operation would result in a document that is not well-formed.
static java.lang.String CANT_MAP_PREFIX_TO_URI
          Displayed when an attempt is made to use methods that map prefixes to namespace URIs in an XPath query.
static java.lang.String CANT_REPLACE_ATTRIBUTE
          Displayed when an attempt is made to replace an attribute.
static java.lang.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 java.lang.String EXCELON_ERROR
          Displayed when an error occured in accessing the underlying DXE excelon database.
static java.lang.String MULTIPLE_ROOT_ELEMENTS
          Displayed if an attempt is made to create multiple document roots via an insertion operation.
static java.lang.String NO_SUCH_COLLECTION
          Displayed when an attempt is made to retrieve a non-existent collection.
static java.lang.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 java.lang.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 java.lang.String NOT_IMPLEMENTED
          Displayed when an attempt is made to utilize a feature that has not been implemented.
static java.lang.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 java.lang.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 java.lang.String RENAME_ERROR
          Displayed when an attempt is made to rename a node that isn't an element or attribute node.
static java.lang.String UNKNOWN_RESOURCE_TYPE
          Displayed when the resource type requested is unknown to the API implementation.
static java.lang.String VALIDATION_ERROR
          Displayed when a validation error occurs when attempting to store a document in a collection.
static java.lang.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 java.lang.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.
 
Constructor Summary
ErrorMessages()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COLLECTION_CLOSED

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

UNKNOWN_RESOURCE_TYPE

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

PERMISSION_DENIED_SCHEMA

public static final java.lang.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 java.lang.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 java.lang.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 java.lang.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.

EXCELON_ERROR

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

WRONG_CONTENT_TYPE_ELEM_NODE

public static final java.lang.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 java.lang.String NOT_IMPLEMENTED
Displayed when an attempt is made to utilize a feature that has not been implemented.

NODES_NOT_RETURNED

public static final java.lang.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 java.lang.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 java.lang.String MULTIPLE_ROOT_ELEMENTS
Displayed if an attempt is made to create multiple document roots via an insertion operation.

RENAME_ERROR

public static final java.lang.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 java.lang.String NO_SUCH_COLLECTION
Displayed when an attempt is made to retrieve a non-existent collection.

VALIDATION_ERROR

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

CANT_REPLACE_ATTRIBUTE

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

CANT_MAP_PREFIX_TO_URI

public static final java.lang.String CANT_MAP_PREFIX_TO_URI
Displayed when an attempt is made to use methods that map prefixes to namespace URIs in an XPath query.

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()