Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
larbatch
python
pubsdeadenderror.py
Go to the documentation of this file.
1
#! /usr/bin/env python
2
######################################################################
3
#
4
# Name: pubsdeadenderror.py
5
#
6
# Purpose: Python class PubsDeadEndError (exception class).
7
# This exception is raised if input is permanently unavailable
8
# for a given (run, subrun, version) in pubs mode due to merging.
9
#
10
# Created: 22-May-2015 Herbert Greenlee
11
#
12
######################################################################
13
14
from
__future__
import
absolute_import
15
from
__future__
import
print_function
16
17
# PubsDeadEndError class.
18
19
class
PubsDeadEndError
(
Exception
):
20
21
def
__init__
(self, run, subrun, version):
22
self.
run
= run
23
self.
subrun
= subrun
24
self.
version
= version
25
return
26
27
def
__str__
(self):
28
return
'Input is permanently unavailable for run %d, subrun %d, version %d.'
% (
29
self.
run
, self.
subrun
, self.
version
)
python.pubsdeadenderror.PubsDeadEndError.run
run
Definition:
pubsdeadenderror.py:22
python.pubsdeadenderror.PubsDeadEndError.__init__
def __init__(self, run, subrun, version)
Definition:
pubsdeadenderror.py:21
python.pubsdeadenderror.PubsDeadEndError.version
version
Definition:
pubsdeadenderror.py:24
python.pubsdeadenderror.PubsDeadEndError
Definition:
pubsdeadenderror.py:19
python.pubsdeadenderror.PubsDeadEndError.__str__
def __str__(self)
Definition:
pubsdeadenderror.py:27
art::Exception
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
Definition:
Exception.h:66
python.pubsdeadenderror.PubsDeadEndError.subrun
subrun
Definition:
pubsdeadenderror.py:23
Generated by
1.8.11