| %%% Copyright (c) 2007- Facebook |
| %%% Distributed under the Thrift Software License |
| %%% See accompanying file LICENSE or visit the Thrift site at: |
| %%% http://developers.facebook.com/thrift/ |
| -module(tProtocolException). |
| -include("protocol/tProtocolException.hrl"). |
| -export([attr/4, super/0, inspect/1]). |
| -export([new/0, new/1, new/2]). |
| %%% 'super' is required unless ?MODULE is a base class |
| %%% super() -> SuperModule = atom() |
| %%% inspect(This) -> string() |
| Super = (super()):new(Type, Message), |
| new(?tProtocolException_UNKNOWN, undefined). |