/usr/include/cvc3/eval_exception.h is in libcvc3-dev 2.4.1-5ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | /*****************************************************************************/
/*!
* \file eval_exception.h
*
* Author: Sergey Berezin
*
* Created: Tue Feb 25 14:58:57 2003
*
* <hr>
*
* License to use, copy, modify, sell and/or distribute this software
* and its documentation for any purpose is hereby granted without
* royalty, subject to the terms and conditions defined in the \ref
* LICENSE file provided with this distribution.
*
* <hr>
*
* An exception thrown on an error while evaluating a command. Use it
* only when the error does not fall under any of the standard cases
* like typecheck or parse errors.
*/
/*****************************************************************************/
#ifndef _cvc3__eval_exception_h_
#define _cvc3__eval_exception_h_
#include "exception.h"
namespace CVC3 {
class EvalException: public Exception {
public:
// Constructors
EvalException() { }
EvalException(const std::string& msg): Exception(msg) { }
EvalException(const char* msg): Exception(msg) { }
// Destructor
virtual ~EvalException() { }
// Printing the message
virtual std::string toString() const {
return "Error while evaluating a command:\n " + d_msg;
}
};
class ResetException: public Exception {
public:
// Constructors
ResetException(): Exception("Reset Exception") { }
// Destructor
virtual ~ResetException() { }
};
}
#endif
|