/usr/include/osl/ntesuki/ntesukiExceptions.h is in libosl-dev 0.6.0-3.
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 55 56 57 | /* ntesukiExceptions
*/
#ifndef OSL_NTESUKI_EXCEPTIONS
#define OSL_NTESUKI_EXCEPTIONS
#include <iostream>
#include <stdexcept>
#ifndef NDEBUG
# define ntesuki_assert(assertion)\
if (!(assertion))\
throw DfpnError("assertion failed", __FILE__, __LINE__);
#else
#define ntesuki_assert(assertion)
#endif
#ifndef NDEBUG
#define TRY_DFPN \
try\
{\
#define CATCH_DFPN \
}\
catch (DfpnError err)\
{\
ntesuki_assert(false);\
}
#else
#define TRY_DFPN
#define CATCH_DFPN
#endif
namespace osl
{
namespace ntesuki
{
/**
* Throwed when something wrong happend with the df-pn search.
*/
struct DfpnError : std::runtime_error
{
DfpnError(const char *message,
const char *filename,
int linenum) : std::runtime_error(message)
{
std::cerr << message
<< "\n\tin " << filename
<< " line " << linenum << "\n";
}
};
}// ntesuki
}//osl
#endif /* OSL_NTESUKI_EXCEPTIONS */
// ;;; Local Variables:
// ;;; mode:c++
// ;;; c-basic-offset:2
// ;;; End:
|