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