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