# Frost::Exception Class Reference

Frost's exception class. More...

`#include <frost_utils_exception.h>`

List of all members.

## Public Member Functions

| Exception ()
| Default exception.
| Exception (const s_str &sMessage)
| Simple message exception.
| Exception (const s_str &sClassName, const s_str &sMessage)
| Class name + message exception.
virtual | ~Exception ()
| Destructor.
const s_str & | GetDescription () const
| Returns the message of the exception.

## Protected Attributes

s_str | sMessage_

## Detailed Description

Frost's exception class.

Definition at line 16 of file frost_utils_exception.h.

## Constructor & Destructor Documentation

Frost::Exception::Exception | ( |  | ) |

Default exception.

Note:
  Reports : "Undefined exception."

Definition at line 14 of file frost_utils_exception.cpp.

Frost::Exception::Exception | ( | const s_str & | sMessage | ) |

Simple message exception.

Parameters:

  | sMessage | The message to throw

Note:
  Reports : "<sMessage>"

Definition at line 18 of file frost_utils_exception.cpp.

Frost::Exception::Exception | ( | const s_str & | sClassName,
|  | const s_str & | sMessage |
| ) |  |  |

Class name + message exception.

Parameters:

  | sClassName | The name of the class which throws the exception
  | sMessage | The message to throw

Note:
  Reports : "<sClassName> : <sMessage>"

Definition at line 22 of file frost_utils_exception.cpp.

Frost::Exception::~Exception | ( |  | ) | `[virtual]`

Destructor.

Definition at line 27 of file frost_utils_exception.cpp.

## Member Function Documentation

const s_str & Frost::Exception::GetDescription | ( |  | ) | const

Returns the message of the exception.

Returns:
  The message of the exception

Definition at line 31 of file frost_utils_exception.cpp.

## Member Data Documentation

s_str Frost::Exception::sMessage_`[protected]`

Definition at line 48 of file frost_utils_exception.h.

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

- D:/Programmation/Sources/Tensor2/Utils/include/frost_utils_exception.h
- D:/Programmation/Sources/Tensor2/Utils/src/frost_utils_exception.cpp