1 %%% Copyright (c) 2007- Facebook
2 %%% Distributed under the Thrift Software License
4 %%% See accompanying file LICENSE or visit the Thrift site at:
5 %%% http://developers.facebook.com/thrift/
7 -module(tTransportException
).
11 -include("thrift.hrl").
12 -include("transport/tTransportException.hrl").
16 -export([attr
/4, super
/0, inspect
/1]).
18 -export([new
/0, new
/1, new
/2]).
22 %%% 'super' is required unless ?MODULE is a base class
29 %%% behavior callbacks
32 %%% super() -> SuperModule = atom()
38 %%% inspect(This) -> string()
48 Super
= (super()):new(Message
),
49 #?MODULE
{super
=Super
, type
=Type
}.
52 new(?tTransportException_UNKNOWN
, undefined
).