1 21 22 25 package net.sf.launch4j; 26 27 30 public class ExecException extends Exception { 31 private final int _errLine; 32 33 public ExecException(Throwable t, int errLine) { 34 super(t); 35 _errLine = errLine; 36 } 37 38 public ExecException(Throwable t) { 39 this(t, -1); 40 } 41 42 public ExecException(String msg, int errLine) { 43 super(msg); 44 _errLine = errLine; 45 } 46 47 public ExecException(String msg) { 48 this(msg, -1); 49 } 50 51 public int getErrLine() { 52 return _errLine; 53 } 54 } 55 | Popular Tags |