This file is indexed.

/usr/include/CLHEP/Exceptions/ZMexHandler.icc is in libclhep-dev 2.1.4.1+dfsg-1.

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
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
#ifndef ZMEXHANDLER_ICC
#error "Exceptions/ZMexHandler.icc included without Exceptions/ZMexHandler.h"
#endif


// ----------------------------------------------------------------------
//
// ZMexHandler.icc -- inline implementations for the standard handlers.
//
//
// The following methods are defined here:
//   takeCareOf() and clone() for each provided handler:
//     ZMexThrowAlways  ::takeCareOf()  and ::clone()
//     ZMexIgnoreAlways ::takeCareOf()  and ::clone()
//     ZMexIgnoreNextN  ::takeCareOf()  and ::clone()
//     ZMexThrowErrors                  and ::clone()
//     ZMexParentHandler::takeCareOf()  and ::clone()
//
// Other implementations are in ZMexHandler.cc
//
// Revision History:
//	970910	MF	Initial version
//	970917	WEB	Updated per code review 2
//	980617	WEB	Added namespace support
//
// ----------------------------------------------------------------------


namespace zmex  {


//*******************************************
//
// takeCareOf() for various standard exceptions
//
// This operator provides the handler's functionality; in general, it must:
//   record the handler's name
//   obtain (via x.OKtoLog() ) permission, from the exception, to log;
//     if granted, invoke the exception's logger (via x.logMe() )
//   decide on an action
//   record (via x.wasThrown() ) the determined action
//   return the determined action
//
//*******************************************



//******************************
//
// ZMexThrowAlways::takeCareOf()
//
//******************************

inline ZMexAction ZMexThrowAlways::takeCareOf( const ZMexception & x ) {
  //DEBUG  cerr << "ThrowAlways::takeCareOf" << endl;
  return standardHandling( x, true );
}


//*******************************
//
// ZMexIgnoreAlways::takeCareOf()
//
//*******************************

inline ZMexAction ZMexIgnoreAlways::takeCareOf( const ZMexception & x ) {
  //DEBUG  cerr << "IgnoreAlways::takeCareOf" << endl;
  return standardHandling( x, false );
}



//******************************
//
// ZMexIgnoreNextN::takeCareOf()
//
//******************************

inline ZMexAction ZMexIgnoreNextN::takeCareOf( const ZMexception & x ) {

  return standardHandling( x, ( countDown_ <= 0 ) ? true
						  : (--countDown_, false)
			 );
}


//********************************
//
// ZMexParentHandler::takeCareOf()
//
//********************************

inline ZMexAction ZMexHandleViaParent::takeCareOf( const ZMexception & ) {
  //DEBUG  cerr << "HandleViaParent::takeCareOf" << endl;
  return ZMexHANDLEVIAPARENT;
}


//*******************************************
//
// clone() for various standard exceptions
//
//*******************************************



//*************************
//
// ZMexThrowAlways::clone()
//
//*************************

inline ZMexThrowAlways * ZMexThrowAlways::clone() const {

  return  new ZMexThrowAlways( *this );
}


//**************************
//
// ZMexIgnoreAlways::clone()
//
//**************************

inline ZMexIgnoreAlways * ZMexIgnoreAlways::clone() const {

  return  new ZMexIgnoreAlways( *this );
}



//**************************
//
// ZMexThrowErrors::clone()
//
//**************************

inline ZMexThrowErrors * ZMexThrowErrors::clone() const {

  return  new ZMexThrowErrors( *this );
}


//*************************
//
// ZMexIgnoreNextN::clone()
//
//*************************

inline ZMexIgnoreNextN * ZMexIgnoreNextN::clone() const {

  return  new ZMexIgnoreNextN( *this );
}


//***************************
//
// ZMexParentHandler::clone()
//
//***************************

inline ZMexHandleViaParent * ZMexHandleViaParent::clone() const {

  return  new ZMexHandleViaParent( *this );
}


}  // namespace zmex