X-Plane Remote Access Plugin and Client Library
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
hu::varadiistvan::xplra::Exception Class Reference

#include <Exception.h>

Inheritance diagram for hu::varadiistvan::xplra::Exception:
hu::varadiistvan::xplra::IOException hu::varadiistvan::xplra::InvalidIDException hu::varadiistvan::xplra::NotConnectedException hu::varadiistvan::xplra::ProtocolException hu::varadiistvan::xplra::TypeMismatchException

Public Member Functions

 Exception (const char *message) throw ()
 
virtual ~Exception () throw ()
 
virtual const char * what () const throw ()
 

Protected Member Functions

 Exception () throw ()
 

Protected Attributes

std::string message
 

Detailed Description

Base class for exceptions that can be thrown by the client.

Definition at line 46 of file Exception.h.

Constructor & Destructor Documentation

◆ Exception() [1/2]

Exception::Exception ( const char *  message)
throw (
)
inline

Construct the exception with the given message.

Definition at line 235 of file Exception.h.

◆ Exception() [2/2]

Exception::Exception ( )
throw (
)
inlineprotected

Default constructor for children.

Definition at line 242 of file Exception.h.

◆ ~Exception()

Exception::~Exception ( )
throw (
)
inlinevirtual

Destroy the exception

Definition at line 248 of file Exception.h.

Member Function Documentation

◆ what()

const char * Exception::what ( ) const
throw (
)
virtual

Get a message.

Definition at line 43 of file Exception.cc.

Member Data Documentation

◆ message

std::string hu::varadiistvan::xplra::Exception::message
protected

The string representation of the error message.

Definition at line 52 of file Exception.h.


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