| public class java.net URISyntaxException
|
Java SE 6 |
| version | 1.7, 06/04/07 |
| since | 1.4 |
| See also | java.net.URI |
| Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| public | URISyntaxException(String input, String reason, int index) Details
Constructs an instance from the given input string, reason, and error
index.
| ||||||||||
| public | URISyntaxException(String input, String reason) Details
Constructs an instance from the given input string and reason. The
resulting object will have an error index of -1.
| ||||||||||
| Properties | |||
|---|---|---|---|
| public int | getIndex() Details
Returns an index into the input string of the position at which the
parse error occurred, or -1 if this position is not known.
| ||
| public String | getInput() Details
Returns the input string.
| ||
| public String | getMessage() Details
Returns a string describing the parse error. The resulting string
consists of the reason string followed by a colon character
(':'), a space, and the input string. If the error index is
defined then the string " at index " followed by the index, in
decimal, is inserted after the reason string and before the colon
character.
| ||
| public String | getReason() Details
Returns a string explaining why the input string could not be parsed.
| ||
| About DocWeb · Bundles · Export · Export All | Top 10 · Statistics · Login |
| About Sun · Contact · Privacy · Terms of Use · Trademarks | Java SE 6 · Copyright © 1994-2009 Sun Microsystems, Inc.All rights reserved. Use is subject to license terms |
![]() |
![]() |
|