Package rospy :: Module exceptions :: Class ROSInterruptException

Class ROSInterruptException

source code

              object --+            
                       |            
exceptions.BaseException --+        
                           |        
        exceptions.Exception --+    
                               |    
                    ROSException --+
                                   |
                  object --+       |
                           |       |
    exceptions.BaseException --+   |
                               |   |
    exceptions.KeyboardInterrupt --+
                                   |
                                  ROSInterruptException

Exception for operations that interrupted, e.g. due to shutdown.

This is a subclass of both ROSException and KeyboardInterrupt so that it can be used in logic tht expects either.

Instance Methods

Inherited from exceptions.Exception: __init__, __new__

Inherited from exceptions.BaseException: __delattr__, __getattribute__, __getitem__, __getslice__, __reduce__, __repr__, __setattr__, __setstate__, __str__, __unicode__

Inherited from object: __format__, __hash__, __reduce_ex__, __sizeof__, __subclasshook__

Properties

Inherited from exceptions.BaseException: args, message

Inherited from object: __class__