roscpp overview: Initialization and Shutdown | Basics | Advanced: Traits [ROS C Turtle] | Advanced: Custom Allocators [ROS C Turtle] | Advanced: Serialization and Adapting Types [ROS C Turtle] | Publishers and Subscribers | Services | Parameter Server | Timers (Periodic Callbacks) | NodeHandles | Callbacks and Spinning | Logging | Names and Node Information | Time | Exceptions | Compilation Options | Advanced: Internals | tf/Overview | tf/Tutorials | C++ Style Guide

roscpp throws exceptions only in truly unexpected, programmer error conditions. All of roscpp's exceptions inherit from a common ros::Exception base class.


  • Thrown if an invalid base name is passed to ros::init(), usually because it has a / in it


  • 0.10-: Thrown if a name beginning with a ~ is passed to any NodeHandle method.

  • 0.11+: Thrown if an invalid name is passed to any roscpp function.

Wiki: roscpp/Overview/Exceptions (last edited 2010-01-13 02:31:21 by PatrickMihelich)