|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.xml.xquery.XQException
public class XQException
Constructor Summary | |
---|---|
XQException()
|
|
XQException(int vendorCode,
javax.xml.namespace.QName errorcode,
java.lang.String message,
int pos,
javax.xml.namespace.QName module,
javax.xml.namespace.QName function)
Constructor that takes in a QName and the module and function names in which the error occurred. |
|
XQException(int vendorCode,
XQItem item,
java.lang.String message,
int pos)
XQException taking in an item and a preformatted optional message string. |
|
XQException(int vendorCode,
XQItem item,
java.lang.String message,
int pos,
javax.xml.namespace.QName module,
javax.xml.namespace.QName function)
Constructor that takes in an item and the module and function names in which the error occurred. |
|
XQException(java.lang.String message)
XQException taking in a preformatted message string. |
|
XQException(java.lang.Throwable throwable)
|
Method Summary | |
---|---|
javax.xml.namespace.QName |
getErrorCode()
Gets the error code associated with this exception. |
XQItem |
getErrorItem()
Returns the generic Item that is associated with this error message. |
int |
getErrorPosition()
Gets the error position if possible (default is 0). |
javax.xml.namespace.QName |
getFunctionName()
Gets the name of the function, where possible, in which the error occurred. |
javax.xml.namespace.QName |
getModuleName()
Gets the name of the module, where possible, in which the error occurred. |
XQException |
getNextException()
Returns the next XQException in the chain. |
int |
getVendorCode()
Gets a vendor Specific Error code. |
void |
setNextException(XQException next)
Adds an XQuery exception to the end of the chain of exceptions. |
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 XQException()
public XQException(java.lang.String message)
public XQException(java.lang.Throwable throwable)
public XQException(int vendorCode, javax.xml.namespace.QName errorcode, java.lang.String message, int pos, javax.xml.namespace.QName module, javax.xml.namespace.QName function)
public XQException(int vendorCode, XQItem item, java.lang.String message, int pos)
public XQException(int vendorCode, XQItem item, java.lang.String message, int pos, javax.xml.namespace.QName module, javax.xml.namespace.QName function)
Method Detail |
---|
public javax.xml.namespace.QName getErrorCode()
public XQItem getErrorItem()
public int getErrorPosition()
public javax.xml.namespace.QName getFunctionName()
public javax.xml.namespace.QName getModuleName()
public XQException getNextException()
public int getVendorCode()
public void setNextException(XQException next)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |