Main Page
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
+
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Properties
_
a
c
d
e
f
l
m
o
p
s
t
u
v
+
Related Functions
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Utilities
StorageFactory
src
Throw.cc
Go to the documentation of this file.
1
#include "
Utilities/StorageFactory/src/Throw.h
"
2
#include "
FWCore/Utilities/interface/Exception.h
"
3
#include <ostream>
4
#include <cstring>
5
6
void
throwStorageError
(
const
char
*
category
,
const
char
*
context
,
const
char
*call,
int
error
) {
7
cms::Exception
ex(
category
);
8
ex << call <<
" failed with system error '"
<< strerror(
error
) <<
"' (error code "
<<
error
<<
")"
;
9
ex.
addContext
(
context
);
10
throw
ex;
11
}
12
13
void
throwStorageError
(
edm::errors::ErrorCodes
category
,
const
char
*
context
,
const
char
*call,
int
error
) {
14
edm::Exception
ex(
category
);
15
ex << call <<
" failed with system error '"
<< strerror(
error
) <<
"' (error code "
<<
error
<<
")"
;
16
ex.
addContext
(
context
);
17
throw
ex;
18
}
Throw.h
throwStorageError
void throwStorageError(const char *category, const char *context, const char *call, int error)
Definition:
Throw.cc:6
relativeConstraints.error
error
Definition:
relativeConstraints.py:53
edm::errors::ErrorCodes
ErrorCodes
Definition:
EDMException.h:22
edm::Exception
Definition:
EDMException.h:79
visDQMUpload.context
context
Definition:
visDQMUpload.py:30
Exception.h
cms::Exception
Definition:
Exception.h:70
cms::Exception::addContext
void addContext(std::string const &context)
Definition:
Exception.cc:165
taus_updatedMVAIds_cff.category
category
Definition:
taus_updatedMVAIds_cff.py:31
Generated for CMSSW Reference Manual by
1.8.14