Package com.drew.lang
Class CompoundException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.drew.lang.CompoundException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
ImageProcessingException
,MetadataException
public class CompoundException extends java.lang.Exception
Represents a compound exception, as modelled in JDK 1.4, but unavailable in previous versions. This class allows support of these previous JDK versions.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CompoundException(java.lang.String msg)
CompoundException(java.lang.String msg, java.lang.Throwable innerException)
CompoundException(java.lang.Throwable exception)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Throwable
getInnerException()
void
printStackTrace()
void
printStackTrace(java.io.PrintStream s)
void
printStackTrace(java.io.PrintWriter s)
java.lang.String
toString()
-
-
-
Method Detail
-
getInnerException
public java.lang.Throwable getInnerException()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Throwable
-
printStackTrace
public void printStackTrace(java.io.PrintStream s)
- Overrides:
printStackTrace
in classjava.lang.Throwable
-
printStackTrace
public void printStackTrace(java.io.PrintWriter s)
- Overrides:
printStackTrace
in classjava.lang.Throwable
-
printStackTrace
public void printStackTrace()
- Overrides:
printStackTrace
in classjava.lang.Throwable
-
-