1 28 package net.sf.jasperreports.engine.fill; 29 30 31 38 public class JRSubreportRunResult 39 { 40 private final boolean finished; 41 private final Throwable exception; 42 43 public JRSubreportRunResult(boolean finished, Throwable exception) 44 { 45 this.finished = finished; 46 this.exception = exception; 47 } 48 49 54 public boolean isError() 55 { 56 return exception != null; 57 } 58 59 64 public Throwable getException() 65 { 66 return exception; 67 } 68 69 74 public boolean hasFinished() 75 { 76 return finished; 77 } 78 } 79 | Popular Tags |