xdrpp
RFC4506 XDR compiler and message library
Classes | Namespaces | Functions
exception.h File Reference

Exceptions raised by RPC calls. More...

#include <xdrpp/rpc_msg.hh>
#include <cerrno>
#include <cstring>
Include dependency graph for exception.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  xdr::rpc_call_stat
 Structure encoding all the various reasons a server can decline to process an RPC call it received. More...
 
struct  xdr::xdr_call_error
 This is the exception raised in an RPC client when it reaches the server and transmits a call, with no connection or communication errors, but the server replies with an RPC-level message header refusing to execute the call. More...
 
struct  xdr::xdr_system_error
 This exception represents a system error encountered while attempting to send RPC messages over a socket. More...
 

Namespaces

 xdr
 Most of the xdrpp library is encapsulated in the xdr namespace.
 

Functions

const char * xdr::rpc_errmsg (accept_stat ev)
 Translate one of the conditions in RFC5531 for an unexecuted call into a string. More...
 
const char * xdr::rpc_errmsg (auth_stat ev)
 Translate one of the conditions in RFC5531 for an unexecuted call into a string. More...
 
void xdr::check_call_hdr (const rpc_msg &hdr)
 Check that an RPC header precedes a result. More...
 

Detailed Description

Exceptions raised by RPC calls.

These depend on the RPC message format. Other exceptions may be found in types.h.

Definition in file exception.h.