org.exolab.castor.net
Class URIException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.exolab.castor.net.URIException
All Implemented Interfaces:
java.io.Serializable

public final class URIException
extends java.lang.Exception

URIException is used when an error occurs during URI resolving

Version:
$Revision: 1.1.1.1 $
Author:
Keith Visco
See Also:
Serialized Form

Constructor Summary
URIException(java.lang.Exception exception)
          Creates a new URIException
URIException(java.lang.String message)
          Creates a new URIException
URIException(java.lang.String message, java.lang.Exception exception)
          Creates a new URIException
 
Method Summary
 java.lang.Exception getException()
          Returns the nested exception, or null if no exception exists.
 void printStackTrace()
           
 void printStackTrace(java.io.PrintStream s)
           
 void printStackTrace(java.io.PrintWriter s)
           
 
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

URIException

public URIException(java.lang.String message)
Creates a new URIException

Parameters:
message - the explaination for this exception

URIException

public URIException(java.lang.String message,
                    java.lang.Exception exception)
Creates a new URIException

Parameters:
message - the explaination for this exception
exception, - an optional nested exception, most likely, the exception which caused this exception.

URIException

public URIException(java.lang.Exception exception)
Creates a new URIException

Parameters:
exception - the exception which caused this exception. Note: to use this constructor exception must not be null.
Method Detail

getException

public java.lang.Exception getException()
Returns the nested exception, or null if no exception exists.

Returns:
the nested exception, or null if no exception exists

printStackTrace

public void printStackTrace()
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintStream s)
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintWriter s)
Overrides:
printStackTrace in class java.lang.Throwable


Intalio Inc. (C) 1999-2004. All rights reserved http://www.intalio.com