Unchecked exception thrown to indicate a syntax error in a regular-expression pattern.
Unchecked exception thrown to indicate a syntax error in a regular-expression pattern.
(->pattern-syntax-exception desc regex index)
Constructor.
Constructs a new instance of this class.
desc - A description of the error - java.lang.String
regex - The erroneous pattern - java.lang.String
index - The approximate index in the pattern of the error, or -1 if the index is not known - int
Constructor. Constructs a new instance of this class. desc - A description of the error - `java.lang.String` regex - The erroneous pattern - `java.lang.String` index - The approximate index in the pattern of the error, or -1 if the index is not known - `int`
(get-description this)
Retrieves the description of the error.
returns: The description of the error - java.lang.String
Retrieves the description of the error. returns: The description of the error - `java.lang.String`
(get-index this)
Retrieves the error index.
returns: The approximate index in the pattern of the error,
or -1 if the index is not known - int
Retrieves the error index. returns: The approximate index in the pattern of the error, or -1 if the index is not known - `int`
(get-message this)
Returns a multi-line string containing the description of the syntax error and its index, the erroneous regular-expression pattern, and a visual indication of the error index within the pattern.
returns: The full detail message - java.lang.String
Returns a multi-line string containing the description of the syntax error and its index, the erroneous regular-expression pattern, and a visual indication of the error index within the pattern. returns: The full detail message - `java.lang.String`
(get-pattern this)
Retrieves the erroneous regular-expression pattern.
returns: The erroneous pattern - java.lang.String
Retrieves the erroneous regular-expression pattern. returns: The erroneous pattern - `java.lang.String`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close