org.apache.cocoon
Class CascadingIOException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.io.IOException
              extended byorg.apache.cocoon.CascadingIOException
All Implemented Interfaces:
CascadingThrowable, Serializable

public class CascadingIOException
extends IOException
implements CascadingThrowable

This is a wrapping IOException.

Version:
$Id: CascadingIOException.html 1304280 2012-03-23 11:18:01Z ilgrosso $
See Also:
Serialized Form

Constructor Summary
CascadingIOException(Exception ex)
          Creates a new ProcessingException instance.
CascadingIOException(String message)
          Construct a new ProcessingException instance.
CascadingIOException(String message, Throwable t)
          Construct a new ProcessingException that references a parent Exception.
 
Method Summary
 Throwable getCause()
          Retrieve root cause of the exception.
 void printStackTrace()
           
 void printStackTrace(PrintStream s)
           
 void printStackTrace(PrintWriter s)
           
 String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CascadingIOException

public CascadingIOException(String message)
Construct a new ProcessingException instance.


CascadingIOException

public CascadingIOException(Exception ex)
Creates a new ProcessingException instance.

Parameters:
ex - an Exception value

CascadingIOException

public CascadingIOException(String message,
                            Throwable t)
Construct a new ProcessingException that references a parent Exception.

Method Detail

getCause

public final Throwable getCause()
Retrieve root cause of the exception.

Specified by:
getCause in interface CascadingThrowable
Returns:
the root cause

toString

public String toString()

printStackTrace

public void printStackTrace()

printStackTrace

public void printStackTrace(PrintStream s)

printStackTrace

public void printStackTrace(PrintWriter s)


Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.