|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.marklogic.xdbc.XDBCRuntimeException
com.marklogic.xdbc.XDBCXQueryRuntimeException
An XDBCXQueryRuntimeException provides information on an XQuery runtime exception that occurs during XDBC processing.
The information in the XDBCRuntimeException includes:
| Constructor Summary | |
XDBCXQueryRuntimeException(String code,
String message,
String formatString,
boolean retryable,
String[] data,
XDBCXQueryException.Frame[] stack)
Constructs an XDBCXQueryRuntimeException |
|
XDBCXQueryRuntimeException(String code,
String message,
String formatString,
boolean retryable,
String expression,
String[] data,
XDBCXQueryException.Frame[] stack)
Constructs an XDBCXQueryRuntimeException |
|
XDBCXQueryRuntimeException(XDBCXQueryException exception)
Constructs an XDBCXQueryRuntimeException from and XDBCXQueryException |
|
| Method Summary | |
String |
getCode()
Return the symbolic exception code |
String[] |
getData()
Return the exception data |
String |
getExpression()
Return the expression which caused the exception. |
String |
getFormatString()
Return the exception format string |
boolean |
getRetryable()
Return whether retrying the operation may suceed |
XDBCXQueryException.Frame[] |
getStack()
Return the XQuery Evaluator stack trace for this XDBCRuntimeException. |
String |
toString()
Returns a string representation of the object. |
| Methods inherited from class com.marklogic.xdbc.XDBCRuntimeException |
getNextException, setNextException |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public XDBCXQueryRuntimeException(String code,
String message,
String formatString,
boolean retryable,
String[] data,
XDBCXQueryException.Frame[] stack)
code - the symbolic exception codemessage - the exception messageformatString - the exception format stringretryable - retrying the operation may succeeddata - the exception datastack - the xquery evaluator stack trace
public XDBCXQueryRuntimeException(String code,
String message,
String formatString,
boolean retryable,
String expression,
String[] data,
XDBCXQueryException.Frame[] stack)
code - the symbolic exception codemessage - the exception messageformatString - the exception format stringretryable - retrying the operation may succeedexpression - the expression which caused the exceptiondata - the exception datastack - the xquery evaluator stack tracepublic XDBCXQueryRuntimeException(XDBCXQueryException exception)
exception - the XDBCXQueryException| Method Detail |
public String getCode()
public String getFormatString()
public boolean getRetryable()
public String getExpression()
public String[] getData()
public XDBCXQueryException.Frame[] getStack()
Note that this is the server-side stack trace from evaluating the XQuery, NOT the client-side Java runtime stack trace.
public String toString()
toString in class XDBCRuntimeException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||