| 1 | /** |
| 2 | * |
| 3 | */ |
| 4 | package net.digitaltsunami.word.util; |
| 5 | |
| 6 | /** |
| 7 | * @author dhagberg |
| 8 | * |
| 9 | */ |
| 10 | public class WordscopeException extends Exception { |
| 11 | |
| 12 | private static final long serialVersionUID = 4764556586444782373L; |
| 13 | |
| 14 | /** |
| 15 | * Construct a new exception with a message and the cause for the exception. |
| 16 | * |
| 17 | * @param message |
| 18 | * Message specific to this exception. |
| 19 | * @param cause |
| 20 | * Error that occurred causing this exception to be created. |
| 21 | */ |
| 22 | public WordscopeException(String message, Throwable cause) { |
| 23 | super(message, cause); |
| 24 | } |
| 25 | |
| 26 | /** |
| 27 | * Construct a new exception with a message. |
| 28 | * |
| 29 | * @param message |
| 30 | * Message specific to this exception. |
| 31 | */ |
| 32 | public WordscopeException(String message) { |
| 33 | super(message); |
| 34 | } |
| 35 | |
| 36 | /** |
| 37 | * Construct a new exception with the cause for the exception. The message |
| 38 | * from the cause will be used as the message for this exception. |
| 39 | * |
| 40 | * @param message |
| 41 | * Message specific to this exception. |
| 42 | * @param cause |
| 43 | * Error that occurred causing this exception to be created. |
| 44 | * @param cause |
| 45 | */ |
| 46 | public WordscopeException(Throwable cause) { |
| 47 | super(cause); |
| 48 | } |
| 49 | |
| 50 | } |