com.twitter.common.thrift
Class ThriftException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.twitter.common.thrift.ThriftException
All Implemented Interfaces:
Serializable

public class ThriftException
extends Exception

Exception class to wrap exceptions caught during thrift calls.

See Also:
Serialized Form

Constructor Summary
ThriftException(String message)
           
ThriftException(String message, Throwable t)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ThriftException

public ThriftException(String message)

ThriftException

public ThriftException(String message,
                       Throwable t)