org.apache.cocoon
Class CascadingIOException

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

public class CascadingIOException
extends IOException
implements CascadingThrowable

This is a wrapping IOException.

Version:
CVS $Id: CascadingIOException.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Carsten Ziegeler
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
Overrides:
getCause in class Throwable
Returns:
the root cause

toString

public String toString()
Overrides:
toString in class Throwable

printStackTrace

public void printStackTrace()
Overrides:
printStackTrace in class Throwable

printStackTrace

public void printStackTrace(PrintStream s)
Overrides:
printStackTrace in class Throwable

printStackTrace

public void printStackTrace(PrintWriter s)
Overrides:
printStackTrace in class Throwable


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