libTriton version 1.0 build 1590
Loading...
Searching...
No Matches
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.
 
TRITON_EXPORT Exception (const std::string &message)
 Constructor.
 
virtual TRITON_EXPORT ~Exception () throw ()
 Destructor.
 
TRITON_EXPORT const char * what () const throw ()
 Returns the exception message.
 

Protected Attributes

std::string message
 Defines the exception message.
 

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: