1 package org.ocltf.translation; 2 3 4 /*** 5 * Any unchecked exception that will be thrown when a translation exception occurs. 6 */ 7 public class TranslatorException extends RuntimeException { 8 9 /*** 10 * Constructs an instance of TranslatorException. 11 * 12 * @param th 13 */ 14 public TranslatorException(Throwable th){ 15 super(th); 16 } 17 18 /*** 19 * Constructs an instance of TranslatorException. 20 * 21 * @param msg 22 */ 23 public TranslatorException(String msg) { 24 super(msg); 25 } 26 27 /*** 28 * Constructs an instance of TranslatorException. 29 * 30 * @param msg 31 * @param th 32 */ 33 public TranslatorException(String msg, Throwable th) { 34 super(msg, th); 35 } 36 37 }