/usr/include/hphp/parser/parse-time-fatal-exception.h is in hhvm-dev 3.11.1+dfsg-1ubuntu1.
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 | #ifndef incl_HPHP_PARSE_TIME_FATAL_EXCEPTION_H
#define incl_HPHP_PARSE_TIME_FATAL_EXCEPTION_H
#include "hphp/util/exception.h"
namespace HPHP {
/////////////////////////////////////////////////////////////////////////////
class ParseTimeFatalException : public Exception {
public:
ParseTimeFatalException(const std::string& file, int line,
ATTRIBUTE_PRINTF_STRING const char* msg, ...) ATTRIBUTE_PRINTF(4,5)
: m_file(file), m_line(line) {
va_list ap; va_start(ap, msg); format(msg, ap); va_end(ap);
}
EXCEPTION_COMMON_IMPL(ParseTimeFatalException);
void setParseFatal(bool b = true) { m_parseFatal = b; }
std::string m_file;
int m_line;
bool m_parseFatal;
};
/////////////////////////////////////////////////////////////////////////////
} // namespace HPHP
#endif // incl_HPHP_PARSE_TIME_FATAL_EXCEPTION_H
|