|
Qizx fe-4.4p2 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
public class 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 |
NON_XML
|
static QName |
QUERY
Code for errors in query operations. |
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. |
Method Summary |
---|
Methods inherited from class com.qizx.api.QizxException |
---|
getErrorCode, setErrorCode, setErrorCode, substituteCode |
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 |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final QName MISC
public static final QName MEMBER_NOT_FOUND
public static final QName IN_IMPORT
public static final QName IN_UPDATE
public static final QName QUERY
public static final QName LOCKED
public static final QName NON_XML
Constructor Detail |
---|
public LibraryException(String message, Throwable cause)
message
- reason for the exceptioncause
- wrapped causepublic LibraryException(String message)
message
- reason for the exceptionpublic 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
|
© 2010 Axyana Software | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |