TranslatorException.java

package org.andromda.core.translation;

/**
 * Any unchecked exception that will be thrown when a translation exception occurs.
 */
public class TranslatorException
    extends RuntimeException
{
    private static final long serialVersionUID = 34L;

    /**
     * Constructs an instance of TranslatorException.
     *
     * @param parent the parent exception
     */
    public TranslatorException(Throwable parent)
    {
        super(parent);
    }

    /**
     * Constructs an instance of TranslatorException.
     *
     * @param message the parent exception
     */
    public TranslatorException(String message)
    {
        super(message);
    }

    /**
     * Constructs an instance of TranslatorException.
     *
     * @param message the exception message
     * @param parent the parent exception
     */
    public TranslatorException(
        String message,
        Throwable parent)
    {
        super(message, parent);
    }
}