org.pdfbox.exceptions
Class WrappedIOException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.io.IOException
              extended byorg.pdfbox.exceptions.WrappedIOException
All Implemented Interfaces:
Serializable

public class WrappedIOException
extends IOException

An exception that that holds a sub exception.

Version:
$Revision: 1.2 $
Author:
Ben Litchfield
See Also:
Serialized Form

Constructor Summary
WrappedIOException(Throwable e)
          constructor comment.
 
Method Summary
 String getMessage()
          Gets the wrapped exception message.
 void printStackTrace(PrintStream s)
          Prints this throwable and its backtrace to the specified print stream.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WrappedIOException

public WrappedIOException(Throwable e)
constructor comment.

Parameters:
e - The root exception that caused this exception.
Method Detail

getMessage

public String getMessage()
Gets the wrapped exception message.

Returns:
A message indicating the exception.

printStackTrace

public void printStackTrace(PrintStream s)
Prints this throwable and its backtrace to the specified print stream.

Parameters:
s - PrintStream to use for output