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