com.drew.lang

Class CompoundException

Known Direct Subclasses:
JpegProcessingException, MetadataException

public class CompoundException
extends 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.

Constructor Summary

CompoundException(String msg)
CompoundException(String msg, Throwable innerException)
CompoundException(Throwable exception)

Method Summary

Throwable
getInnerException()
void
printStackTrace()
void
printStackTrace(PrintStream s)
void
printStackTrace(PrintWriter s)
String
toString()

Constructor Details

CompoundException

public CompoundException(String msg)

CompoundException

public CompoundException(String msg,
                         Throwable innerException)

CompoundException

public CompoundException(Throwable exception)

Method Details

getInnerException

public Throwable getInnerException()

printStackTrace

public void printStackTrace()

printStackTrace

public void printStackTrace(PrintStream s)

printStackTrace

public void printStackTrace(PrintWriter s)

toString

public String toString()

Copyright © 2006 Drew Noakes. All Rights Reserved.