001package org.andromda.core.translation; 002 003/** 004 * Any unchecked exception that will be thrown when a translation exception occurs. 005 */ 006public class TranslatorException 007 extends RuntimeException 008{ 009 private static final long serialVersionUID = 34L; 010 011 /** 012 * Constructs an instance of TranslatorException. 013 * 014 * @param parent the parent exception 015 */ 016 public TranslatorException(Throwable parent) 017 { 018 super(parent); 019 } 020 021 /** 022 * Constructs an instance of TranslatorException. 023 * 024 * @param message the parent exception 025 */ 026 public TranslatorException(String message) 027 { 028 super(message); 029 } 030 031 /** 032 * Constructs an instance of TranslatorException. 033 * 034 * @param message the exception message 035 * @param parent the parent exception 036 */ 037 public TranslatorException( 038 String message, 039 Throwable parent) 040 { 041 super(message, parent); 042 } 043}