View Javadoc

1   package org.sourceforge.jemm;
2   
3   /**
4    * The base of all JEMM exceptions.
5    * 
6    * @author <a href="mailto:csuml@yahoo.co.uk">Paul Keeble</a>
7    * 
8    */
9   public class BaseException extends RuntimeException {
10  
11      private static final long serialVersionUID = 1L;
12  
13      /**
14       * BaseException constructor with a message and an underlying cause exception chain.
15       * 
16       * @param message The error message
17       * @param throwable The underlying cause exception.
18       */
19      public BaseException(String message, Throwable throwable) {
20          super(message, throwable);
21      }
22  
23      /**
24       * BaseException constructor with a message.
25       * 
26       * @param message The error message.
27       */
28      public BaseException(String message) {
29          super(message);
30      }
31  }