URI
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final String | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | URISyntaxException(String
The input string input, String A string explaining why the input could not be parsed reason, int The index at which the parse error occurred,
or index)-1 if the index is not knownConstructs an instance from the given input string, reason, and error index. |
| public | URISyntaxException(String
The input string input, String A string explaining why the input could not be parsed reason)Constructs an instance from the given input string and reason. |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: The error indexReturns an index into the input string of the position at which the
parse error occurred, or |
| public String | |
| public String | Returns: A string describing the parse errorOverrides java. Returns a string describing the parse error. |
| public String | Returns: The reason stringReturns a string explaining why the input string could not be parsed. |
| index | back to summary |
|---|---|
| private final int index | |
| input | back to summary |
|---|---|
| private final String input | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| URISyntaxException | back to summary |
|---|---|
| public URISyntaxException(String input, String reason, int index) Constructs an instance from the given input string, reason, and error index.
| |
| URISyntaxException | back to summary |
|---|---|
| public URISyntaxException(String input, String reason) Constructs an instance from the given input string and reason. The
resulting object will have an error index of
| |
| getIndex | back to summary |
|---|---|
| public int getIndex() Returns an index into the input string of the position at which the
parse error occurred, or
| |
| getInput | back to summary |
|---|---|
| public String getInput() Returns the input string.
| |
| getMessage | back to summary |
|---|---|
| public String getMessage() Overrides java. Returns a string describing the parse error. The resulting string
consists of the reason string followed by a colon character
(
| |
| getReason | back to summary |
|---|---|
| public String getReason() Returns a string explaining why the input string could not be parsed.
| |