Class ReportEventException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.pentaho.reporting.engine.classic.core.ReportProcessingException
-
- 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
Constructors Constructor Description ReportEventException(String message, List childExceptions)
Creates an ReportEventException to handle exceptions, that occured during the event dispatching.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
-
-
-
-
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 classThrowable
- Returns:
- the error message string of this
Throwable
object if it was created with an error message string; ornull
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 classThrowable
- Parameters:
writer
- the writer.
-
printStackTrace
public void printStackTrace(PrintStream stream)
Prints the stack trace to the specified stream.- Overrides:
printStackTrace
in classThrowable
- Parameters:
stream
- the output stream.
-
-