Package rocon_gateway :: Module exceptions
[frames] | no frames]

Source Code for Module rocon_gateway.exceptions

 1  #!/usr/bin/env python 
 2  # 
 3  # License: BSD 
 4  #   https://raw.github.com/robotics-in-concert/rocon_multimaster/master/rocon_gateway/LICENSE 
 5  # 
 6   
 7  ''' 
 8    Core exceptions raised by the gateway. 
 9  ''' 
10  ############################################################################## 
11  # Exceptions 
12  ############################################################################## 
13   
14   
15 -class GatewayError(Exception):
16 pass
17 18 19 # Raised when information for a specific gateway id is requested, but that 20 # gateway is not connected to the hub
21 -class GatewayUnavailableError(Exception):
22 pass
23 24 25 # Raised when a connection type of the kind gateway_msgs.ConnectionType is 26 # invalid
27 -class ConnectionTypeError(GatewayError):
28 pass
29 30 31 # Raised whenever any of the samples falls over in runtime
32 -class GatewaySampleRuntimeError(Exception):
33 pass
34