gate.creole.ontology
Class InvalidURIException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by gate.util.GateRuntimeException
                  extended by gate.creole.ontology.InvalidURIException
All Implemented Interfaces:
Serializable

public class InvalidURIException
extends GateRuntimeException

This exception is thrown when a URI is not valid.

Author:
Niraj Aswani
See Also:
Serialized Form

Constructor Summary
InvalidURIException()
          Constructor
InvalidURIException(Exception e)
          Constructor - behaves like a wrapper to the provided exception
InvalidURIException(String s)
          Constructor
 
Method Summary
 void printStackTrace()
          Overriden so we can print the enclosed exception's stacktrace too.
 void printStackTrace(PrintStream s)
          Overriden so we can print the enclosed exception's stacktrace too.
 void printStackTrace(PrintWriter s)
          Overriden so we can print the enclosed exception's stacktrace too.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidURIException

public InvalidURIException()
Constructor


InvalidURIException

public InvalidURIException(String s)
Constructor

Parameters:
s - Message that should be printed along with the Exception trace

InvalidURIException

public InvalidURIException(Exception e)
Constructor - behaves like a wrapper to the provided exception

Parameters:
e -
Method Detail

printStackTrace

public void printStackTrace()
Overriden so we can print the enclosed exception's stacktrace too.

Overrides:
printStackTrace in class Throwable

printStackTrace

public void printStackTrace(PrintStream s)
Overriden so we can print the enclosed exception's stacktrace too.

Overrides:
printStackTrace in class Throwable

printStackTrace

public void printStackTrace(PrintWriter s)
Overriden so we can print the enclosed exception's stacktrace too.

Overrides:
printStackTrace in class Throwable