1
2
3
4
5
6 package com.rc.celeritas.exception;
7
8
9
10
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
34
35 public CeleritasException(Throwable t) {
36 super(t);
37 }
38
39
40
41
42
43 public CeleritasException(String message){
44 super(message);
45 }
46
47 }