2 The Barry library has the following exception hierarchy:
11 - Barry::SocketCloseOnOpen
14 - Barry::ConfigFileError
16 - Barry::ConfigFileError
17 - Barry::BadPackedFormat
23 - Barry::JDWP::Timeout
27 All specific USB error exceptions will be derived from
28 this class. Where possible, this class also stores the
29 specific return code from the libusb API, to allow
30 fine grained error handling.
33 All specific Barry error exceptions will be derived from
34 this class. This can be thrown from anywhere inside Barry.
37 There is also the remote possibility that there will be memory
38 exceptions from a call to 'new'. In that case, std::bad_alloc
39 will be thrown by the standard C++ libraries. Barry does not
43 Assert-like errors will cause std::logic_error to be thrown.
44 Barry does sometimes throw these, but they should be be
47 All of the above exceptions (from std, Barry, and Usb namespaces)
48 are derived from std::exception, so they can all be caught in one
49 statement for the efficient and lazy. :-)