|
Berkeley DB XML version 2.0.7 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sleepycat.dbxml.XmlException
A represention of an error condition that has occurred within the Berkeley DB XML system. The system throws an XmlException if an API method call results in an error condition.
This object is not thread-safe, and can only be safely used by one thread at a time in an application.
Field Summary | |
static int |
CONTAINER_CLOSED
|
static int |
CONTAINER_EXISTS
|
static int |
CONTAINER_NOT_FOUND
|
static int |
CONTAINER_OPEN
|
static int |
CONTAINER_PASSED_WRONG_OBJECT
|
static int |
DATABASE_ERROR
|
static int |
DOCUMENT_NOT_FOUND
|
static int |
DOM_PARSER_ERROR
|
static int |
DYNAMIC_CONTEXT_ERROR
|
static int |
INDEXER_PARSER_ERROR
|
static int |
INTERNAL_ERROR
|
static int |
INVALID_VALUE
|
static int |
LAZY_EVALUATION
|
static int |
NO_MEMORY_ERROR
|
static int |
NO_VARIABLE_BINDING
|
static int |
TRANSACTION_ERROR
|
static int |
UNIQUE_ERROR
|
static int |
UNKNOWN_INDEX
|
static int |
VERSION_MISMATCH
|
static int |
XPATH_EVALUATION_ERROR
|
static int |
XPATH_PARSER_ERROR
|
Constructor Summary | |
XmlException(int errcode,
String description,
int dberr)
Construct an XmlException. |
Method Summary | |
DatabaseException |
getDatabaseException()
Retrieves the Berkeley DB exception object for an XmlException with error code DATABASE_ERROR. |
int |
getErrorCode()
Returns the exception code: one of the XmlException class constants. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int CONTAINER_CLOSED
public static final int CONTAINER_EXISTS
public static final int CONTAINER_OPEN
public static final int DATABASE_ERROR
public static final int DOCUMENT_NOT_FOUND
public static final int DOM_PARSER_ERROR
public static final int INDEXER_PARSER_ERROR
public static final int INTERNAL_ERROR
public static final int INVALID_VALUE
public static final int VERSION_MISMATCH
public static final int LAZY_EVALUATION
public static final int NO_VARIABLE_BINDING
public static final int UNKNOWN_INDEX
public static final int XPATH_EVALUATION_ERROR
public static final int XPATH_PARSER_ERROR
public static final int CONTAINER_PASSED_WRONG_OBJECT
public static final int DYNAMIC_CONTEXT_ERROR
public static final int CONTAINER_NOT_FOUND
public static final int TRANSACTION_ERROR
public static final int UNIQUE_ERROR
public static final int NO_MEMORY_ERROR
Constructor Detail |
public XmlException(int errcode, String description, int dberr)
Method Detail |
public DatabaseException getDatabaseException()
public int getErrorCode()
|
Berkeley DB XML version 2.0.7 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |