Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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))
python.Vispa.Main.Exceptions.PluginNotLoadedException
Definition:
Exceptions.py:14
python.Vispa.Main.Exceptions.exception_traceback
def exception_traceback
Definition:
Exceptions.py:19
python.Vispa.Main.Exceptions.NoCurrentTabControllerException
Definition:
Exceptions.py:4
join
static std::string join(char **cmd)
Definition:
RemoteFile.cc:18
Exception
python.Vispa.Main.Exceptions.PluginIgnoredException
Definition:
Exceptions.py:9
Generated for CMSSW Reference Manual by
1.8.5