Liking cljdoc? Tell your friends :D

jdk.util.regex.PatternSyntaxException

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.
raw docstring

->pattern-syntax-exceptionclj

(->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`
raw docstring

get-descriptionclj

(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`
raw docstring

get-indexclj

(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`
raw docstring

get-messageclj

(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`
raw docstring

get-patternclj

(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`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close