Mark Slee | 83c52a8 | 2006-06-07 06:51:18 +0000 | [diff] [blame] | 1 | package com.facebook.thrift; |
2 | |||||
3 | /** | ||||
4 | * Generic exception class for Thrift. | ||||
5 | * | ||||
6 | * @author Mark Slee <mcslee@facebook.com> | ||||
7 | */ | ||||
8 | public class TException extends Exception { | ||||
9 | public TException() { | ||||
10 | super(); | ||||
11 | } | ||||
12 | |||||
13 | public TException(String message) { | ||||
14 | super(message); | ||||
15 | } | ||||
16 | |||||
17 | public TException(Throwable cause) { | ||||
18 | super(cause); | ||||
19 | } | ||||
20 | |||||
21 | public TException(String message, Throwable cause) { | ||||
22 | super(message, cause); | ||||
23 | } | ||||
24 | } |