|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.exist.xquery.XPathException
public class XPathException
| Constructor Summary | |
|---|---|
XPathException(ErrorCodes.ErrorCode errorCode,
java.lang.String errorDesc)
|
|
XPathException(ErrorCodes.ErrorCode errorCode,
java.lang.String errorDesc,
Sequence errorVal)
|
|
XPathException(ErrorCodes.ErrorCode errorCode,
java.lang.String errorDesc,
java.lang.Throwable cause)
|
|
XPathException(Expression expr,
ErrorCodes.ErrorCode errorCode,
java.lang.String errorDesc)
|
|
XPathException(Expression expr,
ErrorCodes.ErrorCode errorCode,
java.lang.String errorDesc,
Sequence errorVal)
|
|
XPathException(Expression expr,
ErrorCodes.ErrorCode errorCode,
java.lang.String errorDesc,
Sequence errorVal,
java.lang.Throwable cause)
|
|
XPathException(Expression expr,
java.lang.String message)
Deprecated. |
|
XPathException(Expression expr,
java.lang.String message,
java.lang.Throwable cause)
Deprecated. |
|
XPathException(Expression expr,
java.lang.Throwable cause)
Deprecated. |
|
XPathException(int line,
int column,
java.lang.String message)
|
|
XPathException(int line,
int column,
java.lang.String message,
java.lang.Throwable cause)
Deprecated. |
|
XPathException(int line,
int column,
java.lang.Throwable cause)
Deprecated. |
|
XPathException(java.lang.String message)
|
|
XPathException(java.lang.String message,
java.lang.Throwable cause)
Deprecated. |
|
XPathException(java.lang.Throwable cause)
Deprecated. |
|
XPathException(XQueryAST ast,
java.lang.String message)
Deprecated. |
|
| Method Summary | |
|---|---|
void |
addFunctionCall(UserDefinedFunction def,
Expression call)
|
ErrorCodes.ErrorCode |
getCode()
|
int |
getColumn()
|
java.lang.String |
getDetailMessage()
Returns just the error message, not including line numbers or the call stack. |
ErrorCodes.ErrorCode |
getErrorCode()
Get xquery errorcode |
Sequence |
getErrorVal()
Get xquery error value |
int |
getLine()
|
java.lang.String |
getMessage()
|
java.lang.String |
getMessageAsHTML()
|
void |
prependMessage(java.lang.String msg)
|
void |
setLocation(int line,
int column)
|
void |
setLocation(int line,
int column,
XACMLSource source)
|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public XPathException(java.lang.String message)
message -
public XPathException(int line,
int column,
java.lang.String message)
@Deprecated
public XPathException(Expression expr,
java.lang.String message)
public XPathException(Expression expr,
ErrorCodes.ErrorCode errorCode,
java.lang.String errorDesc)
public XPathException(Expression expr,
ErrorCodes.ErrorCode errorCode,
java.lang.String errorDesc,
Sequence errorVal)
@Deprecated
public XPathException(XQueryAST ast,
java.lang.String message)
@Deprecated public XPathException(java.lang.Throwable cause)
@Deprecated
public XPathException(java.lang.String message,
java.lang.Throwable cause)
@Deprecated
public XPathException(Expression expr,
java.lang.Throwable cause)
@Deprecated
public XPathException(Expression expr,
java.lang.String message,
java.lang.Throwable cause)
public XPathException(Expression expr,
ErrorCodes.ErrorCode errorCode,
java.lang.String errorDesc,
Sequence errorVal,
java.lang.Throwable cause)
public XPathException(ErrorCodes.ErrorCode errorCode,
java.lang.String errorDesc,
Sequence errorVal)
public XPathException(ErrorCodes.ErrorCode errorCode,
java.lang.String errorDesc)
public XPathException(ErrorCodes.ErrorCode errorCode,
java.lang.String errorDesc,
java.lang.Throwable cause)
@Deprecated
public XPathException(int line,
int column,
java.lang.String message,
java.lang.Throwable cause)
@Deprecated
public XPathException(int line,
int column,
java.lang.Throwable cause)
| Method Detail |
|---|
public void setLocation(int line,
int column)
public void setLocation(int line,
int column,
XACMLSource source)
public int getLine()
public int getColumn()
public ErrorCodes.ErrorCode getCode()
public void addFunctionCall(UserDefinedFunction def,
Expression call)
public void prependMessage(java.lang.String msg)
public java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic java.lang.String getDetailMessage()
public java.lang.String getMessageAsHTML()
public ErrorCodes.ErrorCode getErrorCode()
public Sequence getErrorVal()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||