public class PatternSyntaxException extends RuntimeException
Following java.util.regex.PatternSyntaxException, this is an
unchecked exception.
| 构造器和说明 |
|---|
PatternSyntaxException(String error) |
PatternSyntaxException(String error,
String input) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getDescription()
Retrieves the description of the error.
|
int |
getIndex()
Retrieves the error index.
|
String |
getPattern()
Retrieves the erroneous regular-expression pattern.
|
public PatternSyntaxException(String error)
public int getIndex()
public String getDescription()
public String getPattern()
Copyright © 2019. All rights reserved.