Package com.drew.lang
Class CompoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.drew.lang.CompoundException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ImageProcessingException,MetadataException
Represents a compound exception, as modelled in JDK 1.4, but
unavailable in previous versions. This class allows support
of these previous JDK versions.
- Author:
- Drew Noakes https://drewnoakes.com
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCompoundException(String msg) CompoundException(String msg, Throwable innerException) CompoundException(Throwable exception) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace
-
Constructor Details
-
CompoundException
-
CompoundException
-
CompoundException
-
-
Method Details
-
getInnerException
-
toString
-
printStackTrace
- Overrides:
printStackTracein classThrowable
-
printStackTrace
- Overrides:
printStackTracein classThrowable
-
printStackTrace
public void printStackTrace()- Overrides:
printStackTracein classThrowable
-