1 /********************* */
2 /*! \file unsafe_interrupt_exception.h
4 ** Top contributors (to current version):
6 ** This file is part of the CVC4 project.
7 ** Copyright (c) 2009-2019 by the authors listed in the file AUTHORS
8 ** in the top-level source directory) and their institutional affiliations.
9 ** All rights reserved. See the file COPYING in the top-level source
10 ** directory for licensing information.\endverbatim
12 ** \brief An exception that is thrown when the solver is out of time/resources
13 ** and is interrupted in an unsafe state
16 #include "cvc4_public.h"
18 #ifndef CVC4__UNSAFE_INTERRUPT_EXCEPTION_H
19 #define CVC4__UNSAFE_INTERRUPT_EXCEPTION_H
21 #include "base/exception.h"
25 class CVC4_PUBLIC UnsafeInterruptException
: public CVC4::Exception
{
27 UnsafeInterruptException() :
28 Exception("Interrupted in unsafe state due to "
29 "time/resource limit.") {
32 UnsafeInterruptException(const std::string
& msg
) :
36 UnsafeInterruptException(const char* msg
) :
39 };/* class UnsafeInterruptException */
43 #endif /* CVC4__UNSAFE_INTERRUPT_EXCEPTION_H */