Program Listing for File exceptions.hpp

Return to documentation for file (/tmp/ws/src/myactuator_rmd/include/myactuator_rmd/exceptions.hpp)

#ifndef MYACTUATOR_RMD__EXCEPTIONS
#define MYACTUATOR_RMD__EXCEPTIONS
#pragma once

#include <stdexcept>


namespace myactuator_rmd {

  class Exception: public std::runtime_error {
    public:
      using std::runtime_error::runtime_error;
  };

  class ProtocolException: public Exception {
    public:
      using Exception::Exception;
  };

  class ValueRangeException: public Exception {
    public:
      using Exception::Exception;
  };

}

#endif // MYACTUATOR_RMD__EXCEPTIONS