#include <exception>
#include <string>
#include <sstream>
#include <iostream>
#include <cstdlib>
#include <memory>
Go to the source code of this file.
Namespaces | |
namespace | lemon |
Classes | |
class | ExceptionMember |
Exception safe wrapper class. More... | |
class | ErrorMessage |
Exception-safe convenient "error message" class. More... | |
class | Exception |
Generic exception class. More... | |
class | LogicError |
One of the two main subclasses of Exception. More... | |
class | UninitializedParameter |
Exception for uninitialized parameters. More... | |
class | RuntimeError |
One of the two main subclasses of Exception. More... | |
class | RangeError |
More... | |
class | IOError |
More... | |
class | DataFormatError |
More... | |
class | FileOpenError |
More... | |
class | AssertionFailedError |
More... | |
Defines | |
#define | LEMON_ASSERT(exp, msg) |
Macro for assertions with customizable message. | |
#define | LEMON_FIXME(msg) |
Macro for mark not yet implemented features. |
|
Value: (static_cast<void> (!!(exp) ? 0 : ( \ LEMON_ASSERT_HANDLER(__FILE__, __LINE__, \ __PRETTY_FUNCTION__, \ msg, #exp, LEMON_ASSERT_ABORT), 0))) The behaviour can be customized with LEMON_ASSERT_HANDLER, LEMON_ASSERT_EXCEPTION and LEMON_ASSERT_ABORT defines. Asserts can be disabled by defining either NDEBUG or LEMON_DISABLE_ASSERTS macros.
|
|
Value: (LEMON_ASSERT_HANDLER(__FILE__, __LINE__, __PRETTY_FUNCTION__, \
"FIXME: " msg))
|