Main Page
Namespaces
Classes
Package Documentation
FWCore
GuiBrowsers
python
Vispa
Main
Exceptions.py
Go to the documentation of this file.
1
import
sys
2
import
traceback
3
4
class
NoCurrentTabControllerException
(
Exception
):
5
""" This exception is raised if a function tries to access the Application's current tab controller when there is no currentTab() in tabWidget().
6
"""
7
pass
8
9
class
PluginIgnoredException
(
Exception
):
10
""" This exception is raised if a plugin cannot be loaded and shall be ignored.
11
"""
12
pass
13
14
class
PluginNotLoadedException
(ImportError):
15
""" This exception is raised if a plugin cannot be loaded and shall raise a warning.
16
"""
17
pass
18
19
def
exception_traceback
():
20
ty,va,tb=sys.exc_info()
21
return
""
.
join
(traceback.format_exception(ty,va,tb))
Vispa.Main.Exceptions.PluginIgnoredException
Definition:
Exceptions.py:9
Vispa.Main.Exceptions.exception_traceback
def exception_traceback()
Definition:
Exceptions.py:19
Vispa.Main.Exceptions.PluginNotLoadedException
Definition:
Exceptions.py:14
join
static std::string join(char **cmd)
Definition:
RemoteFile.cc:17
Exception
Vispa.Main.Exceptions.NoCurrentTabControllerException
Definition:
Exceptions.py:4
Generated for CMSSW Reference Manual by
1.8.11