| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| PluginException |
|
| 1.0;1 |
| 1 | /* | |
| 2 | * Created on Aug 3, 2007 by wyatt | |
| 3 | */ | |
| 4 | package org.homeunix.thecave.buddi.plugin.api.exception; | |
| 5 | ||
| 6 | ||
| 7 | /** | |
| 8 | * The exception thrown when there is a problem with a plugin. Most abstract plugins | |
| 9 | * allow this to be thrown from the main plugin method. The calling code is to catch | |
| 10 | * it, and display the error message in the logs accordingly. | |
| 11 | * | |
| 12 | * @author wyatt | |
| 13 | * | |
| 14 | */ | |
| 15 | public class PluginException extends Exception { | |
| 16 | public static final long serialVersionUID = 0; | |
| 17 | ||
| 18 | public PluginException() { | |
| 19 | 0 | super(); |
| 20 | 0 | } |
| 21 | public PluginException(String message) { | |
| 22 | 0 | super(message); |
| 23 | 0 | } |
| 24 | public PluginException(Throwable cause) { | |
| 25 | 0 | super(cause); |
| 26 | 0 | } |
| 27 | public PluginException(String message, Throwable cause) { | |
| 28 | 0 | super(message, cause); |
| 29 | 0 | } |
| 30 | } |