This file is indexed.

/usr/include/SyFi/swig/cpp2py_exceptions.i is in libsyfi1.0-dev 1.0.0.dfsg-1.2.

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
%exception {
   try {
      $action
   }

   // all out_of_range subclasses 
   catch (std::out_of_range &e) {
      PyErr_SetString(PyExc_IndexError, const_cast<char*>(e.what()));
      return NULL;
   }

   // all logic_error subclasses
   catch (std::logic_error &e) {
      PyErr_SetString(PyExc_StandardError, const_cast<char*>(e.what()));
      return NULL;
   }
   // all runtime_error subclasses
   catch (std::runtime_error &e) {
      PyErr_SetString(PyExc_RuntimeError, const_cast<char*>(e.what()));
      return NULL;
   }
   // all the rest
   catch (std::exception &e) {
      PyErr_SetString(PyExc_Exception, const_cast<char*>(e.what()));
      return NULL;
   }
}