exceptions.py
Go to the documentation of this file.
00001 #!/usr/bin/env python
00002 #
00003 # License: BSD
00004 #   https://raw.github.com/robotics-in-concert/rocon_multimaster/master/rocon_gateway/LICENSE
00005 #
00006 
00007 '''
00008   Core exceptions raised by the gateway.
00009 '''
00010 ##############################################################################
00011 # Exceptions
00012 ##############################################################################
00013 
00014 
00015 class GatewayError(Exception):
00016     pass
00017 
00018 
00019 # Raised when information for a specific gateway id is requested, but that
00020 # gateway is not connected to the hub
00021 class UnavailableGatewayError(Exception):
00022     pass
00023 
00024 
00025 # Raised when a connection type of the kind gateway_msgs.ConnectionType is
00026 # invalid
00027 class ConnectionTypeError(GatewayError):
00028     pass
00029 
00030 
00031 class HubConnectionLostError(GatewayError):
00032     pass
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


rocon_gateway
Author(s): Daniel Stonier, Jihoon Lee,
autogenerated on Tue Jan 15 2013 17:43:24