/usr/include/cvc3/smtlib_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 | /*****************************************************************************/
/*!
* \file smtlib_exception.h
* \brief An exception to be thrown by the smtlib translator.
*
* Author: Clark Barrett
*
* Created: Thu Feb 24 18:22:18 2005
*
* <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>
*
*/
/*****************************************************************************/
#ifndef _cvc3__smtlib_exception_h_
#define _cvc3__smtlib_exception_h_
#include <string>
#include <iostream>
#include "exception.h"
namespace CVC3 {
class SmtlibException: public Exception {
public:
// Constructors
SmtlibException() { }
SmtlibException(const std::string& msg): Exception(msg) { }
SmtlibException(const char* msg): Exception(msg) { }
// Destructor
virtual ~SmtlibException() { }
virtual std::string toString() const {
return "SMTLIB translation error: " + d_msg;
}
}; // end of class SmtlibException
} // end of namespace CVC3
#endif
|