1 package org.andromda.translation.ocl.validation;
2
3 /**
4 * Thrown when any unexpected error occurs during execution of the
5 * Introspector.
6 *
7 * @author Chad Brandon
8 */
9 public class OCLIntrospectorException
10 extends RuntimeException
11 {
12 private static final long serialVersionUID = 34L;
13 /**
14 * Constructs an instance of OCLIntrospectorException taking the
15 * <code>parent</code> Throwable.
16 *
17 * @param parent the cause of the exception
18 */
19 public OCLIntrospectorException(
20 Throwable parent)
21 {
22 super(parent);
23 }
24
25 /**
26 * Constructs an instance of OCLIntrospectorException taking the
27 * <code>message</code> String.
28 *
29 * @param message the message to include in the exception.
30 */
31 public OCLIntrospectorException(
32 String message)
33 {
34 super(message);
35 }
36 }