Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F75954544
UnavailableInterfaceError.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Aug 5, 08:42
Size
1 KB
Mime Type
text/x-c++
Expires
Wed, Aug 7, 08:42 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
19637661
Attached To
R6622 liboncilla
UnavailableInterfaceError.h
View Options
/*
* 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
Log In to Comment