1 package org.andromda.core.translation; 2 3 /** 4 * Any unchecked exception that will be thrown when an Expression exception occurs. 5 */ 6 public class ExpressionException 7 extends RuntimeException 8 { 9 private static final long serialVersionUID = 34L; 10 11 /** 12 * Constructs an instance of ExpressionException. 13 * 14 * @param parent the parent exception 15 */ 16 public ExpressionException(Throwable parent) 17 { 18 super(parent); 19 } 20 21 /** 22 * Constructs an instance of ExpressionException. 23 * 24 * @param message the exception message 25 */ 26 public ExpressionException(String message) 27 { 28 super(message); 29 } 30 31 /** 32 * Constructs an instance of ExpressionException. 33 * 34 * @param message the exception message 35 * @param parent the parent exception 36 */ 37 public ExpressionException( 38 String message, 39 Throwable parent) 40 { 41 super(message, parent); 42 } 43 }