org.sapia.ubik.net
Class NestedIOException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by org.sapia.ubik.net.NestedIOException
All Implemented Interfaces:
java.io.Serializable

public class NestedIOException
extends java.io.IOException

Author:
Yanick Duchesne
Copyright:
Copyright © 2002-2003 Sapia Open Source Software. All Rights Reserved.
License:
Read the license.txt file of the jar or visit the license page at the Sapia OSS web site
See Also:
Serialized Form

Constructor Summary
NestedIOException(java.lang.String aMessage)
          Creates a new CompositeRuntimeException instance with the argument passed in.
NestedIOException(java.lang.String aMessage, java.lang.Throwable aSourceError)
          Creates a new CompositeRuntimeException instance with the arguments passed in.
 
Method Summary
 java.lang.Throwable getSourceError()
          Returns the source error encapsulated in this composite exception.
 void printStackTrace()
          Prints the stack trace of this composite exception to the standard error stream.
 void printStackTrace(java.io.PrintStream anOutput)
          Prints the stack trace of this composite exception to the print stream passed in.
 void printStackTrace(java.io.PrintWriter anOutput)
          Prints the stack trace of this composite exception to the print writer passed in.
 
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

NestedIOException

public NestedIOException(java.lang.String aMessage,
                         java.lang.Throwable aSourceError)
Creates a new CompositeRuntimeException instance with the arguments passed in.

Parameters:
aMessage - The message describing the error.
aSourceError - The source error to encapsulate.

NestedIOException

public NestedIOException(java.lang.String aMessage)
Creates a new CompositeRuntimeException instance with the argument passed in.

Parameters:
aMessage - The message describing the error.
Method Detail

getSourceError

public java.lang.Throwable getSourceError()
Returns the source error encapsulated in this composite exception.

Returns:
The source error encapsulated in this composite exception.

printStackTrace

public void printStackTrace()
Prints the stack trace of this composite exception to the standard error stream.

Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintWriter anOutput)
Prints the stack trace of this composite exception to the print writer passed in.

Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintStream anOutput)
Prints the stack trace of this composite exception to the print stream passed in.

Overrides:
printStackTrace in class java.lang.Throwable


Copyright © 2010 Sapia OSS. All Rights Reserved.