Package java.util.regex
Class PatternSyntaxException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IllegalArgumentException
-
- java.util.regex.PatternSyntaxException
-
- All Implemented Interfaces:
Serializable
public class PatternSyntaxException extends IllegalArgumentException
Unchecked exception thrown to indicate a syntax error in a regular-expression pattern.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PatternSyntaxException(Throwable cause)Constructor.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, toString
-
-
-
-
Constructor Detail
-
PatternSyntaxException
public PatternSyntaxException(Throwable cause)
Constructor.- Parameters:
cause- the error that caused this exception
-
-