|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectThrowable
Exception
ParseException
CQLException
public class CQLException
This exception is produced when the cql input string has syntax errors.
Field Summary | |
---|---|
protected Throwable |
cause
|
Fields inherited from class ParseException |
---|
eol, expectedTokenSequences, specialConstructor, tokenImage |
Constructor Summary | |
---|---|
CQLException(String message)
New instance of CQLException |
|
CQLException(String message,
IToken token,
String cqlSource)
New instance of CQLException |
|
CQLException(String message,
IToken token,
Throwable cause,
String cqlSource)
New instance of CQLException |
|
CQLException(String message,
String cqlSource)
New instance of CQLException |
Method Summary | |
---|---|
Throwable |
getCause()
Returns the cause |
String |
getMessage()
Returns the exception message |
String |
getSyntaxError()
Returns the syntax error presents in the last sequence of characters analyzed. |
Methods inherited from class ParseException |
---|
add_escapes |
Methods inherited from class Throwable |
---|
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected Throwable cause
Constructor Detail |
---|
public CQLException(String message, IToken token, Throwable cause, String cqlSource)
message
- exception descriptiontoken
- current tokencause
- the causecqlSource
- string analyzedpublic CQLException(String message, IToken token, String cqlSource)
message
- exception descriptiontoken
- current tokencqlSource
- analyzed stringpublic CQLException(String message, String cqlSource)
message
- cqlSource
- public CQLException(String message)
message
- Method Detail |
---|
public Throwable getCause()
getCause
in class Throwable
public String getMessage()
getMessage
in class ParseException
public String getSyntaxError()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |