libfsafe  0.1.1
eases writing fail-safe code (C++)
/home/ptr/dev/dev-libs/libfsafe/libfsafe/PreconditionViolation.hxx
Go to the documentation of this file.
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
 All Classes Files Defines