#include <SLException.hpp>
Inheritance diagram for SLException:


Public Member Functions | |
| SLException (const SLString &message) | |
| const SLString & | getMessage () |
Protected Attributes | |
| boost::shared_ptr< SLString > | _shared_ptr |
Example of usage :
|
|
An exception is always built with a message. This to avoid escaped exceptions reaching the top level of the program without any indication on where they came. |
|
|
The optionnal error message |
|
|
The shared_ptr stuff avoid memory leaks with exceptions. |
1.3.6-20040222