The Winamp Remote Control suite
a remote control client and plugin for Winamp 2.x, 5.x
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ERPCException Class Reference

#include <RPCException.h>

Inherits std::runtime_error.

List of all members.

Public Member Functions

 ERPCException (int rpc_error_code)
virtual const char * what () const throw ()

Detailed Description

class to wrap up RPC error code conversion

Definition at line 12 of file RPCException.h.


Constructor & Destructor Documentation

ERPCException::ERPCException ( int  rpc_error_code)
inlineexplicit

constructor accepting the RPC runtime error code

Parameters:
rpc_error_code

Definition at line 20 of file RPCException.h.


Member Function Documentation

virtual const char* ERPCException::what ( ) const throw ()
inlinevirtual

overload of what() to return the value obtained for the RPC code

Returns:

Definition at line 42 of file RPCException.h.

Referenced by main(), TdmRemote::PlaylistRefreshExecute(), and ServerTester::testServer().


The documentation for this class was generated from the following file: