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