org.apache.pdfbox.exceptions
Class WrappedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.pdfbox.exceptions.WrappedException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- COSVisitorException
public class WrappedException
- extends Exception
An exception that that holds a sub exception.
- Version:
- $Revision: 1.2 $
- Author:
- Ben Litchfield
- See Also:
- Serialized Form
WrappedException
public WrappedException(Exception e)
- constructor comment.
- Parameters:
e
- The root exception that caused this exception.
getMessage
public String getMessage()
- Gets the wrapped exception message.
- Overrides:
getMessage
in class Throwable
- Returns:
- A message indicating the exception.
printStackTrace
public void printStackTrace(PrintStream s)
- Prints this throwable and its backtrace to the specified print stream.
- Overrides:
printStackTrace
in class Throwable
- Parameters:
s
- PrintStream
to use for output
Copyright © 2002-2010 The Apache Software Foundation. All Rights Reserved.