Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F61681676
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
Wed, May 8, 07:24
Size
1 KB
Mime Type
text/x-c++
Expires
Fri, May 10, 07:24 (2 d)
Engine
blob
Format
Raw Data
Handle
17544305
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