|
||||||||||
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.geotools.filter.text.generated.parsers.ParseException
org.geotools.filter.text.cql2.CQLException
public class CQLException
This exception is produced when the cql input string has syntax errors.
Field Summary | |
---|---|
protected java.lang.Throwable |
cause
|
Fields inherited from class org.geotools.filter.text.generated.parsers.ParseException |
---|
eol, expectedTokenSequences, tokenImage |
Constructor Summary | |
---|---|
CQLException(java.lang.String message)
New instance of CQLException |
|
CQLException(java.lang.String message,
IToken token,
java.lang.String cqlSource)
New instance of CQLException |
|
CQLException(java.lang.String message,
IToken token,
java.lang.Throwable cause,
java.lang.String cqlSource)
New instance of CQLException |
|
CQLException(java.lang.String message,
java.lang.String cqlSource)
New instance of CQLException |
Method Summary | |
---|---|
java.lang.Throwable |
getCause()
Returns the cause |
java.lang.String |
getMessage()
Returns the exception message |
java.lang.String |
getSyntaxError()
Returns the syntax error presents in the last sequence of characters analyzed. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, 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 |
Field Detail |
---|
protected java.lang.Throwable cause
Constructor Detail |
---|
public CQLException(java.lang.String message, IToken token, java.lang.Throwable cause, java.lang.String cqlSource)
message
- exception descriptiontoken
- current tokencause
- the causecqlSource
- string analyzedpublic CQLException(java.lang.String message, IToken token, java.lang.String cqlSource)
message
- exception descriptiontoken
- current tokencqlSource
- analyzed stringpublic CQLException(java.lang.String message, java.lang.String cqlSource)
message
- cqlSource
- public CQLException(java.lang.String message)
message
- Method Detail |
---|
public java.lang.Throwable getCause()
getCause
in class java.lang.Throwable
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public java.lang.String getSyntaxError()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |