|
Qizx 2.2 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
Super-class of all exceptions of the API.
| Field Summary | |
protected QName |
errorCode
|
| Constructor Summary | |
protected |
QizxException()
|
|
QizxException(QName errorCode,
String message)
Constructs a QizxException with a message and an XQuery error code. |
|
QizxException(String message)
Constructs a QizxException from a simple message. |
|
QizxException(String message,
Throwable cause)
Constructs a QizxException from a simple message and an exception. |
| Method Summary | |
QName |
getErrorCode()
Gets the error code. |
void |
setErrorCode(QName errorCode)
Defines the XQuery error code. |
void |
setErrorCode(String errorCode)
Defines the XQuery error code. |
| 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 |
protected QName errorCode
| Constructor Detail |
protected QizxException()
public QizxException(String message)
message - reason for the exception
public QizxException(String message,
Throwable cause)
message - reason for the exceptioncause - wrapped cause
public QizxException(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| Method Detail |
public QName getErrorCode()
public void setErrorCode(QName errorCode)
errorCode - XQuery code such as XPTY0004public void setErrorCode(String errorCode)
errorCode - XQuery code such as XPTY0004
|
© 2008 Axyana Software | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||