xmlerror.py
Go to the documentation of this file.
1 #! /usr/bin/env python
2 ######################################################################
3 #
4 # Name: xmlerror.py
5 #
6 # Purpose: Python class XMLError (exception class).
7 #
8 # Created: 12-Dec-2014 Herbert Greenlee
9 #
10 ######################################################################
11 
12 from __future__ import absolute_import
13 from __future__ import print_function
14 
15 # XML exception class.
16 
18 
19  def __init__(self, s):
20  self.value = s
21  return
22 
23  def __str__(self):
24  return self.value
25 
def __init__(self, s)
Definition: xmlerror.py:19
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
Definition: Exception.h:66