MIRA
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
XRPC Class Reference

An exception that is thrown by the RPCServer if an RPC call fails. More...

#include <rpc/RPCError.h>

Inheritance diagram for XRPC:
Inheritance graph
[legend]

Public Member Functions

 XRPC (const std::string &msg, const char *file=NULL, int line=0)
 
virtual ~XRPC () MIRA_NOEXCEPT_OR_NOTHROW
 
template<typename Reflector >
void reflect (Reflector &r)
 
virtual void raise (bool recursive=false)
 
void setOrigException (SerializableException *ex)
 takes ownership of ex More...
 
void setOrigException (SerializableExceptionPtr ex)
 
bool hasOrigException ()
 
void raiseOrigException (bool recursive=false)
 

Protected Member Functions

 XRPC ()
 

Protected Attributes

SerializableExceptionPtr origException
 

Friends

class ClassFactoryDefaultConstClassBuilder
 

Detailed Description

An exception that is thrown by the RPCServer if an RPC call fails.

Constructor & Destructor Documentation

◆ XRPC() [1/2]

XRPC ( )
inlineprotected

◆ XRPC() [2/2]

XRPC ( const std::string &  msg,
const char *  file = NULL,
int  line = 0 
)
inline

◆ ~XRPC()

virtual ~XRPC ( )
inlinevirtual

Member Function Documentation

◆ reflect()

void reflect ( Reflector &  r)
inline

◆ raise()

virtual void raise ( bool  recursive = false)
inlinevirtual

◆ setOrigException() [1/2]

void setOrigException ( SerializableException ex)
inline

takes ownership of ex

◆ setOrigException() [2/2]

void setOrigException ( SerializableExceptionPtr  ex)
inline

◆ hasOrigException()

bool hasOrigException ( )
inline

◆ raiseOrigException()

void raiseOrigException ( bool  recursive = false)
inline

Friends And Related Function Documentation

◆ ClassFactoryDefaultConstClassBuilder

friend class ClassFactoryDefaultConstClassBuilder
friend

Member Data Documentation

◆ origException

SerializableExceptionPtr origException
protected

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