Page MenuHomec4science

UnavailableInterfaceError.h
No OneTemporary

File Metadata

Created
Wed, May 8, 07:24

UnavailableInterfaceError.h

/*
* UnavailableInterfaceError.h
*
* Created on: Jan 21, 2013
* Author: tuleu
*/
#ifndef UNAVAILABLEINTERFACEERROR_H_
#define UNAVAILABLEINTERFACEERROR_H_
#include <stdexcept>
namespace rci {
namespace oncilla {
class UnavailableInterfaceError : public std::runtime_error{
public:
UnavailableInterfaceError(const std::string & reason,
const std::string & component,
const std::string & methodName = "",
const std::string & className = "",
const std::string & notice = "");
virtual ~UnavailableInterfaceError() throw();
const std::string & Reason() const;
const std::string & Component() const;
const std::string & Class() const;
const std::string & Method() const;
std::string FullMethodName() const;
const std::string & Notice() const;
private :
static std::string FormatStringFromArgs(const std::string & reason,
const std::string & component,
const std::string & methodName,
const std::string & className,
const std::string & notice);
std::string d_component,d_reason,d_class,d_method,d_notice;
};
} /* namespace oncilla */
} /* namespace rci */
#endif /* UNAVAILABLEINTERFACEERROR_H_ */

Event Timeline