org.jfree.report
Class ReportEventException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.jfree.util.StackableException
              extended byorg.jfree.report.ReportProcessingException
                  extended byorg.jfree.report.ReportEventException
All Implemented Interfaces:
java.io.Serializable

public class ReportEventException
extends ReportProcessingException

The ReportEventException is thrown, if there were unrecoverable exceptions during the report processing.

Author:
Thomas Morgner
See Also:
Serialized Form

Constructor Summary
ReportEventException(java.lang.String message, java.util.List childExceptions)
          Creates an ReportEventException to handle exceptions, that occured during the event dispatching.
 
Method Summary
 java.util.List getChildExceptions()
          Gets the collected child exceptions, that occured during the event dispatching.
 java.lang.String getMessage()
          Returns the errort message string of this throwable object.
 void printStackTrace(java.io.PrintStream stream)
          Prints the stack trace to the specified stream.
 void printStackTrace(java.io.PrintWriter writer)
          Prints the stack trace to the specified writer.
 
Methods inherited from class org.jfree.util.StackableException
getParent, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReportEventException

public ReportEventException(java.lang.String message,
                            java.util.List childExceptions)
Creates an ReportEventException to handle exceptions, that occured during the event dispatching.

Parameters:
message - the exception message.
childExceptions - the collected exceptions.
Method Detail

getChildExceptions

public java.util.List getChildExceptions()
Gets the collected child exceptions, that occured during the event dispatching.

Returns:
the collected child exceptions.

getMessage

public java.lang.String getMessage()
Returns the errort message string of this throwable object.

Returns:
the error message string of this Throwable object if it was created with an error message string; or null if it was created with no error message.

printStackTrace

public void printStackTrace(java.io.PrintWriter writer)
Prints the stack trace to the specified writer.

Parameters:
writer - the writer.

printStackTrace

public void printStackTrace(java.io.PrintStream stream)
Prints the stack trace to the specified stream.

Parameters:
stream - the output stream.