info.codesaway.util.regex
Class PatternSyntaxException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
java.util.regex.PatternSyntaxException
info.codesaway.util.regex.PatternSyntaxException
- All Implemented Interfaces:
- Serializable
public class PatternSyntaxException
- extends PatternSyntaxException
Unchecked exception thrown to indicate a syntax error in a
regular-expression pattern.
This class is an extension
of Java's PatternSyntaxException class. Javadocs were
copied and appended with the added functionality.
- See Also:
- Serialized Form
PatternSyntaxException
public PatternSyntaxException(String desc,
String regex,
int index)
- Constructs a new instance of this class.
- Parameters:
desc - A description of the errorregex - The erroneous patternindex - The approximate index in the pattern of the error,
or -1 if the index is not known