|
Qizx/open 4.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
public class QizxException
Super-class of all exceptions of the API.
| Constructor Summary | |
|---|---|
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. |
void |
substituteCode(String oldCode,
String newCode)
|
| 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 |
| Constructor Detail |
|---|
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
public void substituteCode(String oldCode,
String newCode)
throws EvaluationException
EvaluationException
|
© 2010 Axyana Software | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||