1 #ifndef _CSDBG_EXCEPTION
2 #define _CSDBG_EXCEPTION 1
14 std::ostream&
operator<<(std::ostream&,
const std::exception&);
54 virtual const i8*
msg()
const;
exception(const i8 *,...)
Object constructor.
This abstract class serves as the root of the class hierarchy tree.
char i8
8-bit signed integer
std::ostream & operator<<(std::ostream &, const std::exception &)
Stream insertion operator for std::exception objects.
Class csdbg::object definition.
virtual exception * clone() const
Object virtual copy constructor.
friend std::ostream & operator<<(std::ostream &, const exception &)
Stream insertion operator for csdbg::exception objects.
virtual const i8 * msg() const
Get the exception message.
virtual ~exception()
Object destructor.
i8 * m_msg
Error description message.
virtual exception & operator=(const exception &)
Assignment operator.
This class is a throwable with a textual description of an error.