i-net Clear Reports

com.inet.report
Class EngineError

java.lang.Object
  extended by com.inet.report.EngineError
All Implemented Interfaces:
java.io.Serializable

public class EngineError
extends java.lang.Object
implements java.io.Serializable

This class provides information about an execution error of an Engine or a sub Engine.

Since:
8.2
See Also:
Serialized Form

Method Summary
 java.lang.Throwable getCause()
          Returns the Throwable responsible for this error.
 java.lang.String getMessage()
          Returns the message text for this error.
 int getSubreportIndex()
          Returns the index of the sub report if the error was raised during execution of a sub report.
 

Method Detail

getMessage

public java.lang.String getMessage()
Returns the message text for this error.

Returns:
message of this error
Since:
8.2

getCause

public java.lang.Throwable getCause()
Returns the Throwable responsible for this error.

Returns:
the Throwable responsible for this error
Since:
8.2

getSubreportIndex

public int getSubreportIndex()
Returns the index of the sub report if the error was raised during execution of a sub report. If the error occurred in the main report this will return -1.

Returns:
The index of the sub report or -1 if the error occurred in the main report.
Since:
8.2

i-net Clear Reports

Copyright © 1999-2011 by i-net software GmbH