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:
  • Constructor Details

    • CQLSyntaxException

      public CQLSyntaxException(String message, int offset)
      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.