1 package net.sf.flatpack.util;
2
3 /**
4 * Generic exception for FlatPack
5 *
6 * @author Paul Zepernick
7 */
8 public class FPException extends RuntimeException {
9 private static final long serialVersionUID = -4269317129024968528L;
10
11 public FPException() {
12 }
13
14 /**
15 * @param message the exception message
16 */
17 public FPException(final String message) {
18 super(message);
19 }
20
21 /**
22 * @param cause the original exception
23 */
24 public FPException(final Throwable cause) {
25 super(cause);
26 }
27
28 public FPException(final String message, final Throwable cause) {
29 super(message, cause);
30 }
31 }