001package org.andromda.core.common;
002
003/**
004 * Wraps any exception that occurs when configuring/processing a template object
005 *
006 * @see org.andromda.core.common.TemplateObject
007 */
008public class TemplateObjectException
009    extends RuntimeException
010{
011    private static final long serialVersionUID = 34L;
012
013    /**
014     * Constructs an instance of TemplateObjectException.
015     *
016     * @param parent the parent throwable
017     */
018    public TemplateObjectException(Throwable parent)
019    {
020        super(parent);
021    }
022
023    /**
024     * Constructs an instance of TemplateObjectException.
025     *
026     * @param message the exception message
027     */
028    public TemplateObjectException(String message)
029    {
030        super(message);
031    }
032
033    /**
034     * Constructs an instance of TemplateObjectException.
035     *
036     * @param message the exception message
037     * @param parent the parent throwable
038     */
039    public TemplateObjectException(
040        String message,
041        Throwable parent)
042    {
043        super(message, parent);
044    }
045}