File: exceptions.rst

package info (click to toggle)
gammu 1.28.0-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 21,972 kB
  • ctags: 8,504
  • sloc: ansic: 104,965; pascal: 7,209; cpp: 4,023; python: 3,639; php: 1,622; sh: 1,534; sql: 450; cs: 260; makefile: 192; perl: 107; asm: 31
file content (149 lines) | stat: -rw-r--r-- 5,578 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
:mod:`gammu.exception` -- Gammu exception handling
==================================================

.. module:: gammu.exception
    :synopsis: Defines all exceptions used in Gammu.

.. exception:: gammu.exception.GSMError

    Generic class as parent for all Gammu exceptions. This is never raised
    directly, but should be used to catch any Gammu related exception.

.. autoexception:: gammu.exception.ERR_NONE
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_DEVICEOPENERROR
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_DEVICELOCKED
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_DEVICENOTEXIST
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_DEVICEBUSY
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_DEVICENOPERMISSION
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_DEVICENODRIVER
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_DEVICENOTWORK
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_DEVICEDTRRTSERROR
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_DEVICECHANGESPEEDERROR
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_DEVICEWRITEERROR
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_DEVICEREADERROR
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_DEVICEPARITYERROR
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_TIMEOUT
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_FRAMENOTREQUESTED
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_UNKNOWNRESPONSE
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_UNKNOWNFRAME
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_UNKNOWNCONNECTIONTYPESTRING
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_UNKNOWNMODELSTRING
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_SOURCENOTAVAILABLE
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_NOTSUPPORTED
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_EMPTY
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_SECURITYERROR
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_INVALIDLOCATION
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_NOTIMPLEMENTED
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_FULL
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_UNKNOWN
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_CANTOPENFILE
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_MOREMEMORY
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_PERMISSION
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_EMPTYSMSC
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_INSIDEPHONEMENU
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_NOTCONNECTED
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_WORKINPROGRESS
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_PHONEOFF
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_FILENOTSUPPORTED
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_BUG
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_CANCELED
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_NEEDANOTHERANSWER
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_OTHERCONNECTIONREQUIRED
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_WRONGCRC
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_INVALIDDATETIME
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_MEMORY
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_INVALIDDATA
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_FILEALREADYEXIST
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_FILENOTEXIST
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_SHOULDBEFOLDER
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_SHOULDBEFILE
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_NOSIM
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_GNAPPLETWRONG
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_FOLDERPART
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_FOLDERNOTEMPTY
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_DATACONVERTED
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_UNCONFIGURED
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_WRONGFOLDER
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_PHONE_INTERNAL
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_WRITING_FILE
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_NONE_SECTION
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_USING_DEFAULTS
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_CORRUPTED
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_BADFEATURE
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_DISABLED
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_SPECIFYCHANNEL
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_NOTRUNNING
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_NOSERVICE
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_BUSY
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_COULDNT_CONNECT
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_COULDNT_RESOLVE
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_GETTING_SMSC
    :show-inheritance: