1 16 package org.apache.commons.jexl; 17 18 23 public class JexlException extends Exception { 24 private Throwable cause; 25 26 public JexlException(String message) { 27 this(message,null); 28 } 29 30 public JexlException(String message, Throwable cause) { 31 super(message); 32 this.cause = cause; 33 } 34 35 public JexlException(Throwable cause) { 36 this(cause.getMessage(),cause); 37 } 38 39 public Throwable getCause() { 40 return cause; 41 } 42 } 43 | Popular Tags |