Class CQLSyntaxException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.cloudbees.plugins.credentials.matchers.CQLSyntaxException
- All Implemented Interfaces:
Serializable
Represents a syntax error in a CQL expression.
- Since:
- 2.1.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the offset in the original string where the syntax error was detected.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CQLSyntaxException
Records a syntax error.- Parameters:
message
- the message.offset
- the offset in the original expression string.
-
-
Method Details
-
getOffset
public int getOffset()Returns the offset in the original string where the syntax error was detected.- Returns:
- the offset.
-