blob: a328bfd9580fb370c8f759648f497f16b83b2b57 [file] [log] [blame]
Mark Slee7eb0d632007-03-01 00:00:27 +00001// 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 Slee83c52a82006-06-07 06:51:18 +00007package com.facebook.thrift;
8
9/**
10 * Generic exception class for Thrift.
11 *
12 * @author Mark Slee <mcslee@facebook.com>
13 */
14public class TException extends Exception {
15 public TException() {
16 super();
17 }
18
19 public TException(String message) {
20 super(message);
21 }
David Reiss0c90f6f2008-02-06 22:18:40 +000022
Mark Slee83c52a82006-06-07 06:51:18 +000023 public TException(Throwable cause) {
24 super(cause);
25 }
26
27 public TException(String message, Throwable cause) {
28 super(message, cause);
29 }
30}