Package com.drew.lang

Class 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
    • 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()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CompoundException

        public CompoundException​(java.lang.String msg)
      • CompoundException

        public CompoundException​(java.lang.Throwable exception)
      • CompoundException

        public CompoundException​(java.lang.String msg,
                                 java.lang.Throwable innerException)
    • Method Detail

      • getInnerException

        public java.lang.Throwable getInnerException()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Throwable
      • printStackTrace

        public void printStackTrace​(java.io.PrintStream s)
        Overrides:
        printStackTrace in class java.lang.Throwable
      • printStackTrace

        public void printStackTrace​(java.io.PrintWriter s)
        Overrides:
        printStackTrace in class java.lang.Throwable
      • printStackTrace

        public void printStackTrace()
        Overrides:
        printStackTrace in class java.lang.Throwable