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