2 The Barry library has the following exception hierarchy:
14 - Barry::ConfigFileError
15 - Barry::BadPackedFormat
18 - Barry::UnroutableReadError
22 - Barry::JDWP::Timeout
25 All specific USB error exceptions will be derived from
26 this class. Where possible, this class also stores the
27 specific return code from the libusb API, to allow
28 fine grained error handling.
31 All specific Barry error exceptions will be derived from
32 this class. This can be thrown from anywhere inside Barry.
35 There is also the remote possibility that there will be memory
36 exceptions from a call to 'new'. In that case, std::bad_alloc
37 will be thrown by the standard C++ libraries. Barry does not
41 Assert-like errors will cause std::logic_error to be thrown.
42 Barry does sometimes throw these, but they should be be
45 All of the above exceptions (from std, Barry, and Usb namespaces)
46 are derived from std::exception, so they can all be caught in one
47 statement for the efficient and lazy. :-)