Initial commit, version 0.1.0.
[libfsafe.git] / libfsafe / PreconditionViolation.hxx
bloba343107b5ddead699df85f456bce1d0341b4e2c5
1 /**
2 * @file
4 * Contains declaration of @ref libfsafe::PreconditionViolation
5 */
7 #ifndef LIBFSAFE_PRECONDITIONVIOLATION_HXX
8 #define LIBFSAFE_PRECONDITIONVIOLATION_HXX
10 #include <libsex/declare.hxx>
11 #include <libfsafe/AssertionFailure.hxx>
13 /**
14 * @class libfsafe::PreconditionViolation
16 * Indicates that an assertion failed.
18 * Superclass of all exceptions thrown by this
19 * library and also thrown by the general ASSERT
20 * macro.
22 namespace libfsafe
24 LIBSEX_DECLARE(AssertionFailure, PreconditionViolation)
27 #endif