Next: Supporting Floating Point Data Prev: Unpacker Objects Up: xdrlib Top: Top

10.16.3. Exceptions

Exceptions in this module are coded as class instances:

Error -- exception of module xdrlib
The base exception class. Error has a single public data member msg containing the description of the error.
ConversionError -- exception of module xdrlib
Class derived from Error. Contains no additional instance variables.
Here is an example of how you would catch one of these exceptions: