org.pentaho.reporting.engine.classic.core
Class ReportEventException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.pentaho.reporting.libraries.base.util.StackableException
              extended by org.pentaho.reporting.engine.classic.core.ReportProcessingException
                  extended by org.pentaho.reporting.engine.classic.core.ReportEventException
All Implemented Interfaces:
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(String message, List childExceptions)
          Creates an ReportEventException to handle exceptions, that occured during the event dispatching.
 
Method Summary
 List getChildExceptions()
          Gets the collected child exceptions, that occured during the event dispatching.
 String getMessage()
          Returns the errort message string of this throwable object.
 void printStackTrace(PrintStream stream)
          Prints the stack trace to the specified stream.
 void printStackTrace(PrintWriter writer)
          Prints the stack trace to the specified writer.
 
Methods inherited from class org.pentaho.reporting.libraries.base.util.StackableException
getParent, getParentThrowable, printStackTrace, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReportEventException

public ReportEventException(String message,
                            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 List getChildExceptions()
Gets the collected child exceptions, that occured during the event dispatching.

Returns:
the collected child exceptions.

getMessage

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

Overrides:
getMessage in class org.pentaho.reporting.libraries.base.util.StackableException
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(PrintWriter writer)
Prints the stack trace to the specified writer.

Overrides:
printStackTrace in class org.pentaho.reporting.libraries.base.util.StackableException
Parameters:
writer - the writer.

printStackTrace

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

Overrides:
printStackTrace in class org.pentaho.reporting.libraries.base.util.StackableException
Parameters:
stream - the output stream.