|  | // Copyright (c) 2006- Facebook | 
|  | // Distributed under the Thrift Software License | 
|  | // | 
|  | // See accompanying file LICENSE or visit the Thrift site at: | 
|  | // http://developers.facebook.com/thrift/ | 
|  |  | 
|  | package com.facebook.thrift; | 
|  |  | 
|  | /** | 
|  | * Generic exception class for Thrift. | 
|  | * | 
|  | * @author Mark Slee <mcslee@facebook.com> | 
|  | */ | 
|  | public class TException extends Exception { | 
|  | public TException() { | 
|  | super(); | 
|  | } | 
|  |  | 
|  | public TException(String message) { | 
|  | super(message); | 
|  | } | 
|  |  | 
|  | public TException(Throwable cause) { | 
|  | super(cause); | 
|  | } | 
|  |  | 
|  | public TException(String message, Throwable cause) { | 
|  | super(message, cause); | 
|  | } | 
|  | } |