001package org.andromda.core.common; 002 003/** 004 * This exception is thrown when an unexpected exception occurs when plugin processing occurs. 005 * 006 * @author Chad Brandon 007 */ 008public class PluginException 009 extends RuntimeException 010{ 011 private static final long serialVersionUID = 34L; 012 013 /** 014 * Constructor for PluginException. 015 * 016 * @param message the exception message 017 */ 018 public PluginException(String message) 019 { 020 super(message); 021 } 022 023 /** 024 * Constructor for PluginException. 025 * 026 * @param message the exception message 027 * @param parent the parent throwable 028 */ 029 public PluginException( 030 String message, 031 Throwable parent) 032 { 033 super(message, parent); 034 } 035 036 /** 037 * Constructor for PluginException. 038 * 039 * @param parent the parent throwable 040 */ 041 public PluginException(Throwable parent) 042 { 043 super(parent); 044 } 045}