Mark Slee | 7eb0d63 | 2007-03-01 00:00:27 +0000 | [diff] [blame] | 1 | // Copyright (c) 2006- Facebook |
| 2 | // Distributed under the Thrift Software License |
| 3 | // |
| 4 | // See accompanying file LICENSE or visit the Thrift site at: |
| 5 | // http://developers.facebook.com/thrift/ |
| 6 | |
Mark Slee | 83c52a8 | 2006-06-07 06:51:18 +0000 | [diff] [blame] | 7 | package com.facebook.thrift; |
| 8 | |
| 9 | /** |
| 10 | * Generic exception class for Thrift. |
| 11 | * |
| 12 | * @author Mark Slee <mcslee@facebook.com> |
| 13 | */ |
| 14 | public class TException extends Exception { |
| 15 | public TException() { |
| 16 | super(); |
| 17 | } |
| 18 | |
| 19 | public TException(String message) { |
| 20 | super(message); |
| 21 | } |
David Reiss | 0c90f6f | 2008-02-06 22:18:40 +0000 | [diff] [blame^] | 22 | |
Mark Slee | 83c52a8 | 2006-06-07 06:51:18 +0000 | [diff] [blame] | 23 | public TException(Throwable cause) { |
| 24 | super(cause); |
| 25 | } |
| 26 | |
| 27 | public TException(String message, Throwable cause) { |
| 28 | super(message, cause); |
| 29 | } |
| 30 | } |