001package org.andromda.translation.ocl.validation; 002 003/** 004 * Thrown when any unexpected error occurs during execution of the 005 * Introspector. 006 * 007 * @author Chad Brandon 008 */ 009public class OCLIntrospectorException 010 extends RuntimeException 011{ 012 private static final long serialVersionUID = 34L; 013 /** 014 * Constructs an instance of OCLIntrospectorException taking the 015 * <code>parent</code> Throwable. 016 * 017 * @param parent the cause of the exception 018 */ 019 public OCLIntrospectorException( 020 Throwable parent) 021 { 022 super(parent); 023 } 024 025 /** 026 * Constructs an instance of OCLIntrospectorException taking the 027 * <code>message</code> String. 028 * 029 * @param message the message to include in the exception. 030 */ 031 public OCLIntrospectorException( 032 String message) 033 { 034 super(message); 035 } 036}