Class CQLSyntaxException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.cloudbees.plugins.credentials.matchers.CQLSyntaxException
-
- All Implemented Interfaces:
Serializable
public class CQLSyntaxException extends RuntimeException
Represents a syntax error in a CQL expression.- Since:
- 2.1.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CQLSyntaxException(String message, int offset)
Records a syntax error.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getOffset()
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 Detail
-
CQLSyntaxException
public CQLSyntaxException(String message, int offset)
Records a syntax error.- Parameters:
message
- the message.offset
- the offset in the original expression string.
-
-