API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.net. URISyntaxException View Source
Author(s)
Mark Reinhold
Since
1.4
Version
1.7, 06/04/07
Serial
Hierarchy
 Object
      Throwable
          Exception
              URISyntaxException
Implements
Subclasses
Description
public exception URISyntaxException
  Checked exception thrown to indicate that a string could not be parsed as a URI reference.
See also:    URI
Constructors
public URISyntaxException (String input, String reason)
  Constructs an instance from the given input string and reason.
public URISyntaxException (String input, String reason, int index)
  Constructs an instance from the given input string, reason, and error index.
Methods
Hide/Show inherited methods
publicsynchronizednative Throwable fillInStackTrace () [Inherited From Throwable]
  Fills in the execution stack trace.
public Throwable getCause () [Inherited From Throwable]
  Returns the cause of this throwable or null if the cause is nonexistent or unknown.
public int getIndex ()
  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 ()
  Returns the input string.
public String getLocalizedMessage () [Inherited From Throwable]
  Creates a localized description of this throwable.
public String getMessage () [Overrides Throwable]
  Returns a string describing the parse error.
public String getReason ()
  Returns a string explaining why the input string could not be parsed.
public StackTraceElement getStackTrace () [Inherited From Throwable]
  Provides programmatic access to the stack trace information printed by Throwable.printStackTrace().
publicsynchronized Throwable initCause (Throwable cause) [Inherited From Throwable]
  Initializes the cause of this throwable to the specified value.
public void printStackTrace () [Inherited From Throwable]
  Prints this throwable and its backtrace to the standard error stream.
public void printStackTrace (PrintStream s) [Inherited From Throwable]
  Prints this throwable and its backtrace to the specified print stream.
public void printStackTrace (PrintWriter s) [Inherited From Throwable]
  Prints this throwable and its backtrace to the specified print writer.
public void setStackTrace (StackTraceElement stackTrace) [Inherited From Throwable]
  Sets the stack trace elements that will be returned by Throwable.getStackTrace() and printed by Throwable.printStackTrace() and related methods.
public String toString () [Inherited From Throwable]
  Returns a short description of this throwable.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar