25 lines
504 B
Java
25 lines
504 B
Java
package net.sf.jasperreports.engine.fill;
|
|
|
|
public class JRSubreportRunResult {
|
|
private final boolean finished;
|
|
|
|
private final Throwable exception;
|
|
|
|
public JRSubreportRunResult(boolean finished, Throwable exception) {
|
|
this.finished = finished;
|
|
this.exception = exception;
|
|
}
|
|
|
|
public boolean isError() {
|
|
return (this.exception != null);
|
|
}
|
|
|
|
public Throwable getException() {
|
|
return this.exception;
|
|
}
|
|
|
|
public boolean hasFinished() {
|
|
return this.finished;
|
|
}
|
|
}
|