org.pdfbox.exceptions

Class WrappedException

Known Direct Subclasses:
COSVisitorException

public class WrappedException
extends Exception

An exception that that holds a sub exception.
Version:
$Revision: 1.2 $
Author:
Ben Litchfield

Constructor Summary

WrappedException(Exception 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.

Constructor Details

WrappedException

public WrappedException(Exception e)
constructor comment.
Parameters:
e - The root exception that caused this exception.

Method Details

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