libTriton  version 1.0 build 1558
Public Member Functions | Protected Attributes | List of all members
triton::exceptions::Exception Class Reference

The root class of all exceptions. More...

#include <exceptions.hpp>

Inheritance diagram for triton::exceptions::Exception:

Public Member Functions

TRITON_EXPORT Exception (const char *message)
 Constructor. More...
 
TRITON_EXPORT Exception (const std::string &message)
 Constructor. More...
 
virtual TRITON_EXPORT ~Exception () throw ()
 Destructor. More...
 
TRITON_EXPORT const char * what () const throw ()
 Returns the exception message. More...
 

Protected Attributes

std::string message
 Defines the exception message. More...
 

Detailed Description

The root class of all exceptions.

Definition at line 36 of file exceptions.hpp.

Constructor & Destructor Documentation

◆ Exception() [1/2]

TRITON_EXPORT triton::exceptions::Exception::Exception ( const char *  message)
inline

Constructor.

Definition at line 43 of file exceptions.hpp.

◆ Exception() [2/2]

TRITON_EXPORT triton::exceptions::Exception::Exception ( const std::string &  message)
inline

Constructor.

Definition at line 48 of file exceptions.hpp.

◆ ~Exception()

virtual TRITON_EXPORT triton::exceptions::Exception::~Exception ( )
throw (
)
inlinevirtual

Destructor.

Definition at line 53 of file exceptions.hpp.

Member Function Documentation

◆ what()

TRITON_EXPORT const char * triton::exceptions::Exception::what ( ) const
throw (
)
inline

Returns the exception message.

Definition at line 57 of file exceptions.hpp.

Member Data Documentation

◆ message

std::string triton::exceptions::Exception::message
protected

Defines the exception message.

Definition at line 39 of file exceptions.hpp.


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