This file is indexed.

/usr/share/doc/python-pytango/html/exception.html is in python-pytango 7.2.2-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>Exception Handling &mdash; PyTango v7.2.2 documentation</title>
    <link rel="stylesheet" href="_static/default.css" type="text/css" />
    <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    '',
        VERSION:     '7.2.2',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true
      };
    </script>
    <script type="text/javascript" src="_static/jquery.js"></script>
    <script type="text/javascript" src="_static/underscore.js"></script>
    <script type="text/javascript" src="_static/doctools.js"></script>
    <link rel="top" title="PyTango v7.2.2 documentation" href="index.html" />
    <link rel="up" title="PyTango API" href="api.html" />
    <link rel="next" title="FAQ" href="faq.html" />
    <link rel="prev" title="The Utilities API" href="utilities.html" />
    <script src="_static/js/jquery.min.js"></script> 
    <script src="_static/js/jquery.mousewheel.min.js"></script> 
    <script src="_static/js/jquery.terminal.min.js"></script> 
    <link href="_static/css/jquery.terminal.css" rel="stylesheet"/> 
    
    <link href="_static/css/start/jquery-ui-1.8.10.custom.css" rel="stylesheet"/> 
    <link href="_static/css/pytango.css" rel="stylesheet"/> 
    <link href="_static/css/pytango_terminal.css" rel="stylesheet"/> 
    <script src="_static/js/jquery-ui-1.8.10.custom.min.js"></script> 
    
    <script src="_static/js/dterm.js"></script> 
    <script src="_static/js/pytango.js"></script> 


  </head>
  <body>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="faq.html" title="FAQ"
             accesskey="N">next</a> |</li>
        <li class="right" >
          <a href="utilities.html" title="The Utilities API"
             accesskey="P">previous</a> |</li>
    <li><a href="index.html">home</a>|&nbsp;</li>
    <li><a href="start.html">getting started</a>|&nbsp;</li>
    <li><a href="quicktour.html">quick tour</a>|&nbsp;</li>
    <li><a href="contents.html">documentation </a> &raquo;</li>

          <li><a href="contents.html" >Contents</a> &raquo;</li>
          <li><a href="api.html" accesskey="U">PyTango API</a> &raquo;</li> 
      </ul>
    </div>
      <div class="sphinxsidebar">
        <div class="sphinxsidebarwrapper">
            <p class="logo"><a href="index.html">
              <img class="logo" src="_static/logo.png" alt="Logo"/>
            </a></p>
  <h3><a href="index.html">Table Of Contents</a></h3>
  <ul>
<li><a class="reference internal" href="#">Exception Handling</a><ul>
<li><a class="reference internal" href="#exception-definition">Exception definition</a></li>
<li><a class="reference internal" href="#throwing-exception-in-a-device-server">Throwing exception in a device server</a></li>
<li><a class="reference internal" href="#exception-api">Exception API</a></li>
</ul>
</li>
</ul>

  <h4>Previous topic</h4>
  <p class="topless"><a href="utilities.html"
                        title="previous chapter">The Utilities API</a></p>
  <h4>Next topic</h4>
  <p class="topless"><a href="faq.html"
                        title="next chapter">FAQ</a></p>
  <h3>This Page</h3>
  <ul class="this-page-menu">
    <li><a href="_sources/exception.txt"
           rel="nofollow">Show Source</a></li>
  </ul>
<div id="searchbox" style="display: none">
  <h3>Quick search</h3>
    <form class="search" action="search.html" method="get">
      <input type="text" name="q" />
      <input type="submit" value="Go" />
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
    <p class="searchtip" style="font-size: 90%">
    Enter search terms or a module, class or function name.
    </p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body">
            
  <div class="section" id="exception-handling">
<h1>Exception Handling<a class="headerlink" href="#exception-handling" title="Permalink to this headline"></a></h1>
<div class="section" id="exception-definition">
<h2>Exception definition<a class="headerlink" href="#exception-definition" title="Permalink to this headline"></a></h2>
<p>All the exceptions that can be thrown by the underlying Tango C++ API are available
in the PyTango python module. Hence a user can catch one of the following
exceptions:</p>
<blockquote>
<div><ul class="simple">
<li><a class="reference internal" href="#PyTango.DevFailed" title="PyTango.DevFailed"><tt class="xref py py-class docutils literal"><span class="pre">DevFailed</span></tt></a></li>
<li><a class="reference internal" href="#PyTango.ConnectionFailed" title="PyTango.ConnectionFailed"><tt class="xref py py-class docutils literal"><span class="pre">ConnectionFailed</span></tt></a></li>
<li><a class="reference internal" href="#PyTango.CommunicationFailed" title="PyTango.CommunicationFailed"><tt class="xref py py-class docutils literal"><span class="pre">CommunicationFailed</span></tt></a></li>
<li><a class="reference internal" href="#PyTango.WrongNameSyntax" title="PyTango.WrongNameSyntax"><tt class="xref py py-class docutils literal"><span class="pre">WrongNameSyntax</span></tt></a></li>
<li><a class="reference internal" href="#PyTango.NonDbDevice" title="PyTango.NonDbDevice"><tt class="xref py py-class docutils literal"><span class="pre">NonDbDevice</span></tt></a></li>
<li><a class="reference internal" href="#PyTango.WrongData" title="PyTango.WrongData"><tt class="xref py py-class docutils literal"><span class="pre">WrongData</span></tt></a></li>
<li><a class="reference internal" href="#PyTango.NonSupportedFeature" title="PyTango.NonSupportedFeature"><tt class="xref py py-class docutils literal"><span class="pre">NonSupportedFeature</span></tt></a></li>
<li><a class="reference internal" href="#PyTango.AsynCall" title="PyTango.AsynCall"><tt class="xref py py-class docutils literal"><span class="pre">AsynCall</span></tt></a></li>
<li><a class="reference internal" href="#PyTango.AsynReplyNotArrived" title="PyTango.AsynReplyNotArrived"><tt class="xref py py-class docutils literal"><span class="pre">AsynReplyNotArrived</span></tt></a></li>
<li><a class="reference internal" href="#PyTango.EventSystemFailed" title="PyTango.EventSystemFailed"><tt class="xref py py-class docutils literal"><span class="pre">EventSystemFailed</span></tt></a></li>
<li><a class="reference internal" href="#PyTango.NamedDevFailedList" title="PyTango.NamedDevFailedList"><tt class="xref py py-class docutils literal"><span class="pre">NamedDevFailedList</span></tt></a></li>
<li><a class="reference internal" href="#PyTango.DeviceUnlocked" title="PyTango.DeviceUnlocked"><tt class="xref py py-class docutils literal"><span class="pre">DeviceUnlocked</span></tt></a></li>
</ul>
</div></blockquote>
<p>When an exception is caught, the sys.exc_info() function returns a tuple of three
values that give information about the exception that is currently being handled.
The values returned are (type, value, traceback).
Since most functions don&#8217;t need access to the traceback, the best solution is to
use something like exctype, value = sys.exc_info()[:2] to extract only the exception
type and value. If one of the Tango exceptions is caught, the exctype will be class
name of the exception (DevFailed, .. etc) and the value a tuple of dictionary objects
all of which containing the following kind of key-value pairs:</p>
<ul class="simple">
<li><strong>reason</strong>: a string describing the error type (more readable than the associated error code)</li>
<li><strong>desc</strong>: a string describing in plain text the reason of the error.</li>
<li><strong>origin</strong>: a string giving the name of the (C++ API) method which thrown the exception</li>
<li><strong>severity</strong>: one of the strings WARN, ERR, PANIC giving severity level of the error.</li>
</ul>
<div class="highlight-python"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre> 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15</pre></div></td><td class="code"><div class="highlight"><pre><span class="c">#  Protect the script from Exceptions raised by the Tango or python itself</span>
<span class="k">try</span><span class="p">:</span>
    <span class="c"># Get proxy on the tangotest1 device</span>
    <span class="k">print</span> <span class="s">&quot;Getting DeviceProxy &quot;</span>
    <span class="n">tangotest</span> <span class="o">=</span> <span class="n">DeviceProxy</span><span class="p">(</span><span class="s">&quot;tango/tangotest/1&quot;</span><span class="p">)</span>

<span class="c">#Catch Tango and Systems  Exceptions</span>
<span class="k">except</span> <span class="n">DevFailed</span><span class="p">:</span>
    <span class="n">exctype</span> <span class="p">,</span> <span class="n">value</span> <span class="o">=</span> <span class="n">sys</span><span class="o">.</span><span class="n">exc_info</span><span class="p">()[:</span><span class="mi">2</span><span class="p">]</span>
    <span class="k">print</span> <span class="s">&quot;Failed with exception ! &quot;</span> <span class="p">,</span> <span class="n">exctype</span>
    <span class="k">for</span> <span class="n">err</span> <span class="ow">in</span> <span class="n">value</span><span class="p">:</span>
        <span class="k">print</span> <span class="s">&quot; reason&quot;</span> <span class="p">,</span> <span class="n">err</span><span class="o">.</span><span class="n">reason</span>
        <span class="k">print</span> <span class="s">&quot; description&quot;</span> <span class="p">,</span> <span class="n">err</span><span class="o">.</span><span class="n">desc</span>
        <span class="k">print</span> <span class="s">&quot; origin&quot;</span> <span class="p">,</span> <span class="n">err</span><span class="o">.</span><span class="n">origin</span>
        <span class="k">print</span> <span class="s">&quot; severity&quot;</span> <span class="p">,</span> <span class="n">err</span><span class="o">.</span><span class="n">severity</span>
</pre></div>
</td></tr></table></div>
</div>
<div class="section" id="throwing-exception-in-a-device-server">
<h2>Throwing exception in a device server<a class="headerlink" href="#throwing-exception-in-a-device-server" title="Permalink to this headline"></a></h2>
<p>The C++ Tango::Except class with its most important methods have been wrapped to Python.
Therefore, in a Python device server, you have the following methods to throw, re-throw or
print a Tango::DevFailed exception :</p>
<ul class="simple">
<li><em>throw_exception()</em> which is a static method</li>
<li><em>re_throw_exception()</em> which is also a static method</li>
<li><em>print_exception()</em> which is also a static method</li>
</ul>
<p>The following code is an example of a command method requesting a command on a sub-device and re-throwing
the exception in case of:</p>
<div class="highlight-python"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre>1
2
3
4
5
6
7</pre></div></td><td class="code"><div class="highlight"><pre><span class="k">try</span><span class="p">:</span>
    <span class="n">dev</span><span class="o">.</span><span class="n">command_inout</span><span class="p">(</span><span class="s">&quot;SubDevCommand&quot;</span><span class="p">)</span>
<span class="k">except</span> <span class="n">PyTango</span><span class="o">.</span><span class="n">DevFailed</span><span class="p">,</span> <span class="n">e</span><span class="p">:</span>
    <span class="n">PyTango</span><span class="o">.</span><span class="n">Except</span><span class="o">.</span><span class="n">re_throw_exception</span><span class="p">(</span><span class="n">e</span><span class="p">,</span>
        <span class="s">&quot;MyClass_CommandFailed&quot;</span><span class="p">,</span>
        <span class="s">&quot;Sub device command SubdevCommand failed&quot;</span><span class="p">,</span>
        <span class="s">&quot;Command()&quot;</span><span class="p">)</span>
</pre></div>
</td></tr></table></div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field"><th class="field-name">line 2:</th><td class="field-body">Send the command to the sub device in a try/catch block</td>
</tr>
<tr class="field"><th class="field-name">line 4-6:</th><td class="field-body">Re-throw the exception and add a new level of information in the exception stack</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="exception-api">
<h2>Exception API<a class="headerlink" href="#exception-api" title="Permalink to this headline"></a></h2>
<dl class="class">
<dt id="PyTango.Except">
<em class="property">class </em><tt class="descclassname">PyTango.</tt><tt class="descname">Except</tt><a class="headerlink" href="#PyTango.Except" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">Boost.Python.instance</span></tt></p>
<p>A containner for the static methods:</p>
<blockquote>
<div><ul class="simple">
<li>throw_exception</li>
<li>re_throw_exception</li>
<li>print_exception</li>
<li>compare_exception</li>
</ul>
</div></blockquote>
<dl class="method">
<dt id="PyTango.Except.print_error_stack">
<tt class="descname">print_error_stack</tt><big>(</big><big>)</big><a class="headerlink" href="#PyTango.Except.print_error_stack" title="Permalink to this definition"></a></dt>
<dd><p><strong>print_error_stack</strong> <em>(ex)</em> <strong>-&gt;</strong> <tt class="xref py py-class xref docutils literal"><span class="pre">None</span></tt></p>
<blockquote>
<div><blockquote>
<div>Print all the details of a TANGO error stack.</div></blockquote>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><table class="first last docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field"><th class="field-name">ex:</th><td class="field-body">(<tt class="xref py py-class docutils literal"><span class="pre">PyTango.DevErrorList</span></tt>) The error stack reference</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div></blockquote>
</dd></dl>

<dl class="method">
<dt id="PyTango.Except.print_exception">
<tt class="descname">print_exception</tt><big>(</big><big>)</big><a class="headerlink" href="#PyTango.Except.print_exception" title="Permalink to this definition"></a></dt>
<dd><p><strong>print_exception</strong> <em>(ex)</em> <strong>-&gt;</strong> <tt class="xref py py-class xref docutils literal"><span class="pre">None</span></tt></p>
<blockquote>
<div><blockquote>
<div>Print all the details of a TANGO exception.</div></blockquote>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><table class="first last docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field"><th class="field-name">ex:</th><td class="field-body">(<a class="reference internal" href="#PyTango.DevFailed" title="PyTango.DevFailed"><tt class="xref py py-class docutils literal"><span class="pre">PyTango.DevFailed</span></tt></a>) The <a class="reference internal" href="#PyTango.DevFailed" title="PyTango.DevFailed"><tt class="xref py py-class docutils literal"><span class="pre">DevFailed</span></tt></a> exception</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div></blockquote>
</dd></dl>

<dl class="method">
<dt id="PyTango.Except.re_throw_exception">
<tt class="descname">re_throw_exception</tt><big>(</big><big>)</big><a class="headerlink" href="#PyTango.Except.re_throw_exception" title="Permalink to this definition"></a></dt>
<dd><p><strong>re_throw_exception</strong> <em>(ex, reason, desc, origin, sever=PyTango.ErrSeverity.ERR)</em> <strong>-&gt;</strong> <tt class="xref py py-class xref docutils literal"><span class="pre">None</span></tt></p>
<blockquote>
<div><blockquote>
<div>Re-throw a TANGO <a class="reference internal" href="#PyTango.DevFailed" title="PyTango.DevFailed"><tt class="xref py py-class docutils literal"><span class="pre">DevFailed</span></tt></a> exception with one more error.
The exception is re-thrown with one more <a class="reference internal" href="#PyTango.DevError" title="PyTango.DevError"><tt class="xref py py-class docutils literal"><span class="pre">DevError</span></tt></a> object.
A default value <em>PyTango.ErrSeverity.ERR</em> is defined for the new
<a class="reference internal" href="#PyTango.DevError" title="PyTango.DevError"><tt class="xref py py-class docutils literal"><span class="pre">DevError</span></tt></a> severity field.</div></blockquote>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><table class="first docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field"><th class="field-name">ex:</th><td class="field-body">(<a class="reference internal" href="#PyTango.DevFailed" title="PyTango.DevFailed"><tt class="xref py py-class docutils literal"><span class="pre">PyTango.DevFailed</span></tt></a>) The <a class="reference internal" href="#PyTango.DevFailed" title="PyTango.DevFailed"><tt class="xref py py-class docutils literal"><span class="pre">DevFailed</span></tt></a> exception</td>
</tr>
<tr class="field"><th class="field-name">reason:</th><td class="field-body">(<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) The exception <a class="reference internal" href="#PyTango.DevError" title="PyTango.DevError"><tt class="xref py py-class docutils literal"><span class="pre">DevError</span></tt></a> object reason field</td>
</tr>
<tr class="field"><th class="field-name">desc:</th><td class="field-body">(<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) The exception <a class="reference internal" href="#PyTango.DevError" title="PyTango.DevError"><tt class="xref py py-class docutils literal"><span class="pre">DevError</span></tt></a> object desc field</td>
</tr>
<tr class="field"><th class="field-name">origin:</th><td class="field-body">(<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) The exception <a class="reference internal" href="#PyTango.DevError" title="PyTango.DevError"><tt class="xref py py-class docutils literal"><span class="pre">DevError</span></tt></a> object origin field</td>
</tr>
<tr class="field"><th class="field-name">sever:</th><td class="field-body">(<a class="reference internal" href="client/other.html#PyTango.ErrSeverity" title="PyTango.ErrSeverity"><tt class="xref py py-class docutils literal"><span class="pre">PyTango.ErrSeverity</span></tt></a>) The exception DevError object severity field</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr class="field"><th class="field-name">Throws:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#PyTango.DevFailed" title="PyTango.DevFailed"><tt class="xref py py-class docutils literal"><span class="pre">DevFailed</span></tt></a></p>
</td>
</tr>
</tbody>
</table>
</div></blockquote>
</dd></dl>

<dl class="method">
<dt id="PyTango.Except.throw_exception">
<tt class="descname">throw_exception</tt><big>(</big><big>)</big><a class="headerlink" href="#PyTango.Except.throw_exception" title="Permalink to this definition"></a></dt>
<dd><p><strong>throw_exception</strong> <em>(reason, desc, origin, sever=PyTango.ErrSeverity.ERR)</em> <strong>-&gt;</strong> <tt class="xref py py-class xref docutils literal"><span class="pre">None</span></tt></p>
<blockquote>
<div><blockquote>
<div>Generate and throw a TANGO DevFailed exception.
The exception is created with a single <a class="reference internal" href="#PyTango.DevError" title="PyTango.DevError"><tt class="xref py py-class docutils literal"><span class="pre">DevError</span></tt></a> 
object. A default value <em>PyTango.ErrSeverity.ERR</em> is defined for 
the <a class="reference internal" href="#PyTango.DevError" title="PyTango.DevError"><tt class="xref py py-class docutils literal"><span class="pre">DevError</span></tt></a> severity field.</div></blockquote>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><table class="first docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field"><th class="field-name">reason:</th><td class="field-body">(<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) The exception <a class="reference internal" href="#PyTango.DevError" title="PyTango.DevError"><tt class="xref py py-class docutils literal"><span class="pre">DevError</span></tt></a> object reason field</td>
</tr>
<tr class="field"><th class="field-name">desc:</th><td class="field-body">(<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) The exception <a class="reference internal" href="#PyTango.DevError" title="PyTango.DevError"><tt class="xref py py-class docutils literal"><span class="pre">DevError</span></tt></a> object desc field</td>
</tr>
<tr class="field"><th class="field-name">origin:</th><td class="field-body">(<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) The exception <a class="reference internal" href="#PyTango.DevError" title="PyTango.DevError"><tt class="xref py py-class docutils literal"><span class="pre">DevError</span></tt></a> object origin field</td>
</tr>
<tr class="field"><th class="field-name">sever:</th><td class="field-body">(<a class="reference internal" href="client/other.html#PyTango.ErrSeverity" title="PyTango.ErrSeverity"><tt class="xref py py-class docutils literal"><span class="pre">PyTango.ErrSeverity</span></tt></a>) The exception DevError object severity field</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr class="field"><th class="field-name">Throws:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#PyTango.DevFailed" title="PyTango.DevFailed"><tt class="xref py py-class docutils literal"><span class="pre">DevFailed</span></tt></a></p>
</td>
</tr>
</tbody>
</table>
</div></blockquote>
</dd></dl>

<dl class="method">
<dt id="PyTango.Except.throw_python_exception">
<tt class="descname">throw_python_exception</tt><big>(</big><big>)</big><a class="headerlink" href="#PyTango.Except.throw_python_exception" title="Permalink to this definition"></a></dt>
<dd><p><strong>throw_python_exception</strong> <em>(type, value, traceback)</em> <strong>-&gt;</strong> <tt class="xref py py-class xref docutils literal"><span class="pre">None</span></tt></p>
<blockquote>
<div><blockquote>
<div><p>Generate and throw a TANGO DevFailed exception.
The exception is created with a single <a class="reference internal" href="#PyTango.DevError" title="PyTango.DevError"><tt class="xref py py-class docutils literal"><span class="pre">DevError</span></tt></a>
object. A default value <em>PyTango.ErrSeverity.ERR</em> is defined for
the <a class="reference internal" href="#PyTango.DevError" title="PyTango.DevError"><tt class="xref py py-class docutils literal"><span class="pre">DevError</span></tt></a> severity field.</p>
<p>The parameters are the same as the ones generates by a call to
<tt class="xref py py-func docutils literal"><span class="pre">sys.exc_info()</span></tt>.</p>
</div></blockquote>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><table class="first docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field"><th class="field-name">type:</th><td class="field-body">(<tt class="xref py py-class docutils literal"><span class="pre">class</span></tt>)  the exception type of the exception being handled</td>
</tr>
<tr class="field"><th class="field-name">value:</th><td class="field-body">(<tt class="xref py py-class docutils literal"><span class="pre">object</span></tt>) exception parameter (its associated value or the
second argument to raise, which is always a class instance
if the exception type is a class object)</td>
</tr>
<tr class="field"><th class="field-name">traceback:</th><td class="field-body">(<tt class="xref py py-class docutils literal"><span class="pre">traceback</span></tt>) traceback object</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr class="field"><th class="field-name">Throws:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#PyTango.DevFailed" title="PyTango.DevFailed"><tt class="xref py py-class docutils literal"><span class="pre">DevFailed</span></tt></a></p>
</td>
</tr>
</tbody>
</table>
<p><em>New in PyTango 7.2.1</em></p>
</div></blockquote>
</dd></dl>

<dl class="staticmethod">
<dt id="PyTango.Except.to_dev_failed">
<em class="property">static </em><tt class="descname">to_dev_failed</tt><big>(</big><em>exc_type=None</em>, <em>exc_value=None</em>, <em>traceback=None</em><big>)</big><a class="headerlink" href="#PyTango.Except.to_dev_failed" title="Permalink to this definition"></a></dt>
<dd><p><strong>to_dev_failed</strong> <em>(exc_type, exc_value, traceback)</em> <strong>-&gt;</strong> <a class="reference internal" href="#PyTango.DevFailed" title="PyTango.DevFailed"><tt class="xref py py-class docutils literal"><span class="pre">PyTango.DevFailed</span></tt></a></p>
<blockquote>
<div><p>Generate a TANGO DevFailed exception.
The exception is created with a single <a class="reference internal" href="#PyTango.DevError" title="PyTango.DevError"><tt class="xref py py-class docutils literal"><span class="pre">DevError</span></tt></a>
object. A default value <em>PyTango.ErrSeverity.ERR</em> is defined for
the <a class="reference internal" href="#PyTango.DevError" title="PyTango.DevError"><tt class="xref py py-class docutils literal"><span class="pre">DevError</span></tt></a> severity field.</p>
<p>The parameters are the same as the ones generates by a call to
<tt class="xref py py-func docutils literal"><span class="pre">sys.exc_info()</span></tt>.</p>
</div></blockquote>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field"><th class="field-name">Parameters :</th><td class="field-body"><table class="first docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field"><th class="field-name">type:</th><td class="field-body">(<tt class="xref py py-class docutils literal"><span class="pre">class</span></tt>)  the exception type of the exception being handled</td>
</tr>
<tr class="field"><th class="field-name">value:</th><td class="field-body">(<tt class="xref py py-class docutils literal"><span class="pre">object</span></tt>) exception parameter (its associated value or the
second argument to raise, which is always a class instance
if the exception type is a class object)</td>
</tr>
<tr class="field"><th class="field-name">traceback:</th><td class="field-body">(<tt class="xref py py-class docutils literal"><span class="pre">traceback</span></tt>) traceback object</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr class="field"><th class="field-name">Return :</th><td class="field-body"><p class="first last">(<a class="reference internal" href="#PyTango.DevFailed" title="PyTango.DevFailed"><tt class="xref py py-class docutils literal"><span class="pre">PyTango.DevFailed</span></tt></a>) a tango exception object</p>
</td>
</tr>
</tbody>
</table>
<p><em>New in PyTango 7.2.1</em></p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="PyTango.DevError">
<em class="property">class </em><tt class="descclassname">PyTango.</tt><tt class="descname">DevError</tt><a class="headerlink" href="#PyTango.DevError" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">Boost.Python.instance</span></tt></p>
<p>Structure describing any error resulting from a command execution,
or an attribute query, with following members:</p>
<blockquote>
<div><ul class="simple">
<li>reason : (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) reason</li>
<li>severity : (<a class="reference internal" href="client/other.html#PyTango.ErrSeverity" title="PyTango.ErrSeverity"><tt class="xref py py-class docutils literal"><span class="pre">ErrSeverity</span></tt></a>) error severty (WARN, ERR, PANIC)</li>
<li>desc : (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) error description</li>
<li>origin : (<tt class="xref py py-class docutils literal"><span class="pre">str</span></tt>) Tango server method in which the error happened</li>
</ul>
</div></blockquote>
</dd></dl>

<dl class="exception">
<dt id="PyTango.DevFailed">
<em class="property">exception </em><tt class="descclassname">PyTango.</tt><tt class="descname">DevFailed</tt><a class="headerlink" href="#PyTango.DevFailed" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">exceptions.Exception</span></tt></p>
</dd></dl>

<dl class="exception">
<dt id="PyTango.ConnectionFailed">
<em class="property">exception </em><tt class="descclassname">PyTango.</tt><tt class="descname">ConnectionFailed</tt><a class="headerlink" href="#PyTango.ConnectionFailed" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="#PyTango.DevFailed" title="PyTango.DevFailed"><tt class="xref py py-class docutils literal"><span class="pre">PyTango.DevFailed</span></tt></a></p>
<blockquote>
<div><p>This exception is thrown when a problem occurs during the connection
establishment between the application and the device. The API is stateless.
This means that DeviceProxy constructors filter most of the exception
except for cases described in the following table.</p>
<p>The desc DevError structure field allows a user to get more precise information. These informations are :</p>
<dl class="docutils">
<dt><strong>DB_DeviceNotDefined</strong></dt>
<dd>The name of the device not defined in the database</dd>
<dt><strong>API_CommandFailed</strong></dt>
<dd>The device and command name</dd>
<dt><strong>API_CantConnectToDevice</strong></dt>
<dd>The device name</dd>
<dt><strong>API_CorbaException</strong></dt>
<dd>The name of the CORBA exception, its reason, its locality, its completed
flag and its minor code</dd>
<dt><strong>API_CantConnectToDatabase</strong></dt>
<dd>The database server host and its port number</dd>
<dt><strong>API_DeviceNotExported</strong></dt>
<dd>The device name</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="exception">
<dt id="PyTango.CommunicationFailed">
<em class="property">exception </em><tt class="descclassname">PyTango.</tt><tt class="descname">CommunicationFailed</tt><a class="headerlink" href="#PyTango.CommunicationFailed" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="#PyTango.DevFailed" title="PyTango.DevFailed"><tt class="xref py py-class docutils literal"><span class="pre">PyTango.DevFailed</span></tt></a></p>
<blockquote>
<div><p>This exception is thrown when a communication problem is detected during
the communication between the client application and the device server. It
is a two levels Tango::DevError structure. In case of time-out, the DevError
structures fields are:</p>
<table border="1" class="docutils">
<colgroup>
<col width="8%" />
<col width="23%" />
<col width="57%" />
<col width="12%" />
</colgroup>
<thead valign="bottom">
<tr><th class="head">Level</th>
<th class="head">Reason</th>
<th class="head">Desc</th>
<th class="head">Severity</th>
</tr>
</thead>
<tbody valign="top">
<tr><td>0</td>
<td>API_CorbaException</td>
<td>CORBA exception fields translated into a string</td>
<td>ERR</td>
</tr>
<tr><td>1</td>
<td>API_DeviceTimedOut</td>
<td>String with time-out value and device name</td>
<td>ERR</td>
</tr>
</tbody>
</table>
<p>For all other communication errors, the DevError structures fields are:</p>
<table border="1" class="docutils">
<colgroup>
<col width="7%" />
<col width="27%" />
<col width="55%" />
<col width="11%" />
</colgroup>
<thead valign="bottom">
<tr><th class="head">Level</th>
<th class="head">Reason</th>
<th class="head">Desc</th>
<th class="head">Severity</th>
</tr>
</thead>
<tbody valign="top">
<tr><td>0</td>
<td>API_CorbaException</td>
<td>CORBA exception fields translated into a string</td>
<td>ERR</td>
</tr>
<tr><td>1</td>
<td>API_CommunicationFailed</td>
<td>String with device, method, command/attribute name</td>
<td>ERR</td>
</tr>
</tbody>
</table>
</div></blockquote>
</dd></dl>

<dl class="exception">
<dt id="PyTango.WrongNameSyntax">
<em class="property">exception </em><tt class="descclassname">PyTango.</tt><tt class="descname">WrongNameSyntax</tt><a class="headerlink" href="#PyTango.WrongNameSyntax" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="#PyTango.DevFailed" title="PyTango.DevFailed"><tt class="xref py py-class docutils literal"><span class="pre">PyTango.DevFailed</span></tt></a></p>
</dd></dl>

<p>This exception has only one level of Tango::DevError structure. The possible
value for the reason field are :</p>
<blockquote>
<div><dl class="docutils">
<dt><strong>API_UnsupportedProtocol</strong></dt>
<dd>This error occurs when trying to build a DeviceProxy or an AttributeProxy
instance for a device with an unsupported protocol. Refer to the appendix
on device naming syntax to get the list of supported database modifier</dd>
<dt><strong>API_UnsupportedDBaseModifier</strong></dt>
<dd>This error occurs when trying to build a DeviceProxy or an AttributeProxy
instance for a device/attribute with a database modifier unsupported.
Refer to the appendix on device naming syntax to get the list of
supported database modifier</dd>
<dt><strong>API_WrongDeviceNameSyntax</strong></dt>
<dd>This error occurs for all the other error in device name syntax. It is
thrown by the DeviceProxy class constructor.</dd>
<dt><strong>API_WrongAttributeNameSyntax</strong></dt>
<dd>This error occurs for all the other error in attribute name syntax. It
is thrown by the AttributeProxy class constructor.</dd>
<dt><strong>API_WrongWildcardUsage</strong></dt>
<dd>This error occurs if there is a bad usage of the wildcard character</dd>
</dl>
</div></blockquote>
<dl class="exception">
<dt id="PyTango.NonDbDevice">
<em class="property">exception </em><tt class="descclassname">PyTango.</tt><tt class="descname">NonDbDevice</tt><a class="headerlink" href="#PyTango.NonDbDevice" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="#PyTango.DevFailed" title="PyTango.DevFailed"><tt class="xref py py-class docutils literal"><span class="pre">PyTango.DevFailed</span></tt></a></p>
<blockquote>
<div>This exception has only one level of Tango::DevError structure. The reason
field is set to API_NonDatabaseDevice. This exception is thrown by the API
when using the DeviceProxy or AttributeProxy class database access for
non-database device.</div></blockquote>
</dd></dl>

<dl class="exception">
<dt id="PyTango.WrongData">
<em class="property">exception </em><tt class="descclassname">PyTango.</tt><tt class="descname">WrongData</tt><a class="headerlink" href="#PyTango.WrongData" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="#PyTango.DevFailed" title="PyTango.DevFailed"><tt class="xref py py-class docutils literal"><span class="pre">PyTango.DevFailed</span></tt></a></p>
<blockquote>
<div><p>This exception has only one level of Tango::DevError structure.
The possible value for the reason field are :</p>
<dl class="docutils">
<dt><strong>API_EmptyDbDatum</strong></dt>
<dd>This error occurs when trying to extract data from an empty DbDatum
object</dd>
<dt><strong>API_IncompatibleArgumentType</strong></dt>
<dd>This error occurs when trying to extract data with a type different
than the type used to send the data</dd>
<dt><strong>API_EmptyDeviceAttribute</strong></dt>
<dd>This error occurs when trying to extract data from an empty
DeviceAttribute object</dd>
<dt><strong>API_IncompatibleAttrArgumentType</strong></dt>
<dd>This error occurs when trying to extract attribute data with a type
different than the type used to send the data</dd>
<dt><strong>API_EmptyDeviceData</strong></dt>
<dd>This error occurs when trying to extract data from an empty DeviceData
object</dd>
<dt><strong>API_IncompatibleCmdArgumentType</strong></dt>
<dd>This error occurs when trying to extract command data with a type
different than the type used to send the data</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="exception">
<dt id="PyTango.NonSupportedFeature">
<em class="property">exception </em><tt class="descclassname">PyTango.</tt><tt class="descname">NonSupportedFeature</tt><a class="headerlink" href="#PyTango.NonSupportedFeature" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="#PyTango.DevFailed" title="PyTango.DevFailed"><tt class="xref py py-class docutils literal"><span class="pre">PyTango.DevFailed</span></tt></a></p>
<blockquote>
<div>This exception is thrown by the API layer when a request to a feature
implemented in Tango device interface release n is requested for a device
implementing Tango device interface n-x. There is one possible value for
the reason field which is API_UnsupportedFeature.</div></blockquote>
</dd></dl>

<dl class="exception">
<dt id="PyTango.AsynCall">
<em class="property">exception </em><tt class="descclassname">PyTango.</tt><tt class="descname">AsynCall</tt><a class="headerlink" href="#PyTango.AsynCall" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="#PyTango.DevFailed" title="PyTango.DevFailed"><tt class="xref py py-class docutils literal"><span class="pre">PyTango.DevFailed</span></tt></a></p>
<blockquote>
<div><p>This exception is thrown by the API layer when a the asynchronous model id
badly used. This exception has only one level of Tango::DevError structure.
The possible value for the reason field are :</p>
<dl class="docutils">
<dt><strong>API_BadAsynPollId</strong></dt>
<dd>This error occurs when using an asynchronous request identifier which is not
valid any more.</dd>
<dt><strong>API_BadAsyn</strong></dt>
<dd>This error occurs when trying to fire callback when no callback has been
previously registered</dd>
<dt><strong>API_BadAsynReqType</strong></dt>
<dd>This error occurs when trying to get result of an asynchronous request with
an asynchronous request identifier returned by a non-coherent asynchronous
request (For instance, using the asynchronous request identifier returned
by a command_inout_asynch() method with a read_attribute_reply() attribute).</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="exception">
<dt id="PyTango.AsynReplyNotArrived">
<em class="property">exception </em><tt class="descclassname">PyTango.</tt><tt class="descname">AsynReplyNotArrived</tt><a class="headerlink" href="#PyTango.AsynReplyNotArrived" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="#PyTango.DevFailed" title="PyTango.DevFailed"><tt class="xref py py-class docutils literal"><span class="pre">PyTango.DevFailed</span></tt></a></p>
<blockquote>
<div><p>This exception is thrown by the API layer when:</p>
<blockquote>
<div><ul class="simple">
<li>a request to get asynchronous reply is made and the reply is not yet arrived</li>
<li>a blocking wait with timeout for asynchronous reply is made and the timeout expired.</li>
</ul>
</div></blockquote>
<p>There is one possible value for the reason field which is API_AsynReplyNotArrived.</p>
</div></blockquote>
</dd></dl>

<dl class="exception">
<dt id="PyTango.EventSystemFailed">
<em class="property">exception </em><tt class="descclassname">PyTango.</tt><tt class="descname">EventSystemFailed</tt><a class="headerlink" href="#PyTango.EventSystemFailed" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="#PyTango.DevFailed" title="PyTango.DevFailed"><tt class="xref py py-class docutils literal"><span class="pre">PyTango.DevFailed</span></tt></a></p>
<blockquote>
<div><p>This exception is thrown by the API layer when subscribing or unsubscribing
from an event failed. This exception has only one level of Tango::DevError
structure. The possible value for the reason field are :</p>
<dl class="docutils">
<dt><strong>API_NotificationServiceFailed</strong></dt>
<dd>This error occurs when the subscribe_event() method failed trying to
access the CORBA notification service</dd>
<dt><strong>API_EventNotFound</strong></dt>
<dd>This error occurs when you are using an incorrect event_id in the
unsubscribe_event() method</dd>
<dt><strong>API_InvalidArgs</strong></dt>
<dd>This error occurs when NULL pointers are passed to the subscribe or
unsubscribe event methods</dd>
<dt><strong>API_MethodArgument</strong></dt>
<dd>This error occurs when trying to subscribe to an event which has already
been subsribed to</dd>
<dt><strong>API_DSFailedRegisteringEvent</strong></dt>
<dd>This error means that the device server to which the device belongs to
failed when it tries to register the event. Most likely, it means that
there is no event property defined</dd>
<dt><strong>API_EventNotFound</strong></dt>
<dd>Occurs when using a wrong event identifier in the unsubscribe_event
method</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="exception">
<dt id="PyTango.DeviceUnlocked">
<em class="property">exception </em><tt class="descclassname">PyTango.</tt><tt class="descname">DeviceUnlocked</tt><a class="headerlink" href="#PyTango.DeviceUnlocked" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="#PyTango.DevFailed" title="PyTango.DevFailed"><tt class="xref py py-class docutils literal"><span class="pre">PyTango.DevFailed</span></tt></a></p>
<blockquote>
<div><p>This exception is thrown by the API layer when a device locked by the
process has been unlocked by an admin client. This exception has two levels
of Tango::DevError structure. There is only possible value for the reason
field which is</p>
<dl class="docutils">
<dt><strong>API_DeviceUnlocked</strong></dt>
<dd>The device has been unlocked by another client (administration client)</dd>
</dl>
<p>The first level is the message reported by the Tango kernel from the server
side. The second layer is added by the client API layer with informations on
which API call generates the exception and device name.</p>
</div></blockquote>
</dd></dl>

<dl class="exception">
<dt id="PyTango.NotAllowed">
<em class="property">exception </em><tt class="descclassname">PyTango.</tt><tt class="descname">NotAllowed</tt><a class="headerlink" href="#PyTango.NotAllowed" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="#PyTango.DevFailed" title="PyTango.DevFailed"><tt class="xref py py-class docutils literal"><span class="pre">PyTango.DevFailed</span></tt></a></p>
</dd></dl>

<dl class="exception">
<dt id="PyTango.NamedDevFailedList">
<em class="property">exception </em><tt class="descclassname">PyTango.</tt><tt class="descname">NamedDevFailedList</tt><a class="headerlink" href="#PyTango.NamedDevFailedList" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">Boost.Python.instance</span></tt></p>
<blockquote>
<div><p>This exception is only thrown by the DeviceProxy::write_attributes()
method. In this case, it is necessary to have a new class of exception
to transfer the error stack for several attribute(s) which failed during
the writing. Therefore, this exception class contains for each attributes
which failed :</p>
<blockquote>
<div><ul class="simple">
<li>The name of the attribute</li>
<li>Its index in the vector passed as argumen tof the write_attributes() method</li>
<li>The error stack</li>
</ul>
</div></blockquote>
</div></blockquote>
</dd></dl>

</div>
</div>


          </div>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="faq.html" title="FAQ"
             >next</a> |</li>
        <li class="right" >
          <a href="utilities.html" title="The Utilities API"
             >previous</a> |</li>
    <li><a href="index.html">home</a>|&nbsp;</li>
    <li><a href="start.html">getting started</a>|&nbsp;</li>
    <li><a href="quicktour.html">quick tour</a>|&nbsp;</li>
    <li><a href="contents.html">documentation </a> &raquo;</li>

          <li><a href="contents.html" >Contents</a> &raquo;</li>
          <li><a href="api.html" >PyTango API</a> &raquo;</li> 
      </ul>
    </div>
    <div class="footer">
        &copy; Copyright Except where otherwise noted, content on this site is
licensed under a Creative Commons Attribution 3.0 License.
      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.8.
    </div>
  </body>
</html>