1 package com.melloware.jukes.exception;
2
3 import org.apache.commons.lang.exception.NestableException;
4
5 /**
6 * Base Exception for all wrapped exceptions in PUYJ.
7 * <p>
8 * Copyright (c) 1999-2007 Melloware, Inc. <http://www.melloware.com>
9 * @author Emil A. Lefkof III <info@melloware.com>
10 * @version 4.0
11 */
12 public class JukesException extends NestableException {
13
14 /**
15 * Default Constructor
16 */
17 public JukesException() {
18 super();
19 }
20
21 /**
22 * Constructor that takes a message.
23 * @param aMessage the message to contain
24 */
25 public JukesException(String aMessage) {
26 super(aMessage);
27 }
28
29 /**
30 * Constructor takes a message and exception.
31 * <p>
32 * @param aMessage the message
33 * @param aThrowable the wrapped exception
34 */
35 public JukesException(String aMessage, Throwable aThrowable) {
36 super(aMessage, aThrowable);
37 }
38
39 /**
40 * Constructor that wraps another exception.
41 * <p>
42 * @param aThrowable
43 */
44 public JukesException(Throwable aThrowable) {
45 super(aThrowable);
46 }
47
48 }