|
Qizx/db 2.1 API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.qizx.api.QizxException
com.qizx.api.DataModelException
com.qizx.api.LibraryException
A specific class of DataModelException raised by Library operations.
| Field Summary | |
static QName |
IN_IMPORT
Code for errors in import operations. |
static QName |
IN_UPDATE
Code for errors in update operations. |
static QName |
LOCKED
Code used when trying to open a locked Library. |
static QName |
MEMBER_NOT_FOUND
Error code used for a non-existent Document or Collection. |
static QName |
MISC
Error code used by default. |
static QName |
QUERY
Code for errors in query operations. |
| Fields inherited from class com.qizx.api.QizxException |
errorCode |
| Constructor Summary | |
LibraryException(QName errorCode,
String message)
Constructs a LibraryException with a message and an XQuery error code. |
|
LibraryException(String message)
Constructs a DataModelException from a simple message. |
|
LibraryException(String message,
Throwable cause)
Constructs a DataModelException from a simple message and an exception. |
|
| Methods inherited from class com.qizx.api.QizxException |
getErrorCode, setErrorCode, setErrorCode |
| 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 |
| Field Detail |
public static QName MISC
public static QName MEMBER_NOT_FOUND
public static QName IN_IMPORT
public static QName IN_UPDATE
public static QName QUERY
public static QName LOCKED
| Constructor Detail |
public LibraryException(String message,
Throwable cause)
message - reason for the exceptioncause - wrapped causepublic LibraryException(String message)
message - reason for the exception
public LibraryException(QName errorCode,
String message)
errorCode - the QName of the error (in principle the XQuery error
namespace http://www.w3.org/2005/xqt-errors)message - reason for the exception
|
© 2008 Axyana Software | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||