libfsafe
0.1.1
eases writing fail-safe code (C++)
|
00001 /** 00002 * @file 00003 * 00004 * Contains declaration of @ref libfsafe::PreconditionViolation 00005 */ 00006 00007 #ifndef LIBFSAFE_PRECONDITIONVIOLATION_HXX 00008 #define LIBFSAFE_PRECONDITIONVIOLATION_HXX 00009 00010 #include <libsex/declare.hxx> 00011 #include <libfsafe/AssertionFailure.hxx> 00012 00013 /** 00014 * @class libfsafe::PreconditionViolation 00015 * 00016 * Indicates that an assertion failed. 00017 * 00018 * Superclass of all exceptions thrown by this 00019 * library and also thrown by the general ASSERT 00020 * macro. 00021 */ 00022 namespace libfsafe 00023 { 00024 class PreconditionViolation; 00025 } 00026 00027 LIBSEX_DECLARE( 00028 libfsafe::AssertionFailure, 00029 libfsafe, 00030 PreconditionViolation) 00031 00032 #endif