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