|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.net.URISyntaxException
public class URISyntaxException
Represents an exception that occurred during parsing of a URI.
| Constructor Summary | |
|---|---|
URISyntaxException(String input,
String reason)
Constructs a URISyntaxException containing the string that caused the exception and a description of the error. |
|
URISyntaxException(String input,
String reason,
int index)
Constructs a URISyntaxException, containing the input that caused the exception, a description of the problem, and the index at which the error occurred. |
|
| Method Summary | |
|---|---|
int |
getIndex()
Returns the index at which the syntax error was found, or -1 if the index is unknown/unavailable. |
String |
getInput()
Returns the String that contained the syntax error |
String |
getMessage()
Returns a description of the exception, including the reason, the string that had the syntax error, and the index of the syntax error if available. |
String |
getReason()
Returns a String describing the syntax error in the URI string |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public URISyntaxException(String input,
String reason,
int index)
input - reason - index -
NullPointerException - if input or reason is null
IllegalArgumentException - if index < -1
public URISyntaxException(String input,
String reason)
input - reason -
NullPointerException - if input or reason is null| Method Detail |
|---|
public int getIndex()
public String getReason()
public String getInput()
public String getMessage()
getMessage in class ThrowableThrowable.getMessage()
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||