Package net.sf.jasperreports.engine.fill
Class JRSubreportRunResult
- java.lang.Object
-
- net.sf.jasperreports.engine.fill.JRSubreportRunResult
-
public class JRSubreportRunResult extends Object
A result returned byJRSubreportRunner.start()
orJRSubreportRunner.resume()
.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Constructor Summary
Constructors Constructor Description JRSubreportRunResult(boolean finished, Throwable exception)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Throwable
getException()
Returns the exception thrown by the subreport fill.boolean
hasFinished()
Decides whether the subreport fill has finished (the subreport does not need to continue on a new page).boolean
isError()
Decides whether the fill has resulted in an error.
-
-
-
Constructor Detail
-
JRSubreportRunResult
public JRSubreportRunResult(boolean finished, Throwable exception)
-
-
Method Detail
-
isError
public boolean isError()
Decides whether the fill has resulted in an error.- Returns:
- whether the fill has resulted in an error
-
getException
public Throwable getException()
Returns the exception thrown by the subreport fill.- Returns:
- the exception thrown by the subreport fill
-
hasFinished
public boolean hasFinished()
Decides whether the subreport fill has finished (the subreport does not need to continue on a new page).- Returns:
- whether the subreport fill has finished
-
-