Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1"""
2@file
3@brief Exception raised by the automated documentation
5"""
8class HelpGenException(Exception):
10 """
11 custom exception
12 """
14 def __init__(self, message, file=None):
15 """
16 redefines the message sent to an exception
18 @param message message
19 @param file filename
20 """
21 if file is None:
22 Exception.__init__(self, message)
23 else:
24 mes = '{0}\n File "{1}", line 1'.format(message, file)
25 Exception.__init__(self, mes)
28class ImportErrorHelpGen(ImportError):
30 """
31 A custom exception to detect a specific location when
32 *ImportError* happens in the process.
33 """
34 pass
37class HelpGenConvertError(Exception):
39 """
40 Exception raised when a conversion failed.
41 """
42 pass
45class NotebookConvertError(Exception):
47 """
48 Exception raised when a conversion failed.
49 """
50 pass