View Javadoc

1   /*
2    * To change this template, choose Tools | Templates
3    * and open the template in the editor.
4    */
5   
6   package com.rc.celeritas.exception;
7   
8   /**
9    *
10   * @author rchoudhary
11   */
12  public class CeleritasException extends Throwable {
13  
14      @Override
15      public String toString() {
16          return "Celeritas Exception : " + super.toString();
17      }
18  
19      @Override
20      public String getMessage() {
21          return "Celeritas Error Message : " + super.getMessage();
22      }
23  
24      /**
25       *
26       */
27      public CeleritasException(){
28          super();
29      }
30  
31      /**
32       * 
33       * @param t
34       */
35      public CeleritasException(Throwable t) {
36          super(t);
37      }
38  
39      /**
40       *
41       * @param message
42       */
43      public CeleritasException(String message){
44          super(message);
45      }
46      
47  }