projects
/
platform
/
upstream
/
iotivity.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename resource-encapsulation exception classes.
[platform/upstream/iotivity.git]
/
service
/
resource-encapsulation
/
include
/
RCSException.h
diff --git
a/service/resource-encapsulation/include/RCSException.h
b/service/resource-encapsulation/include/RCSException.h
index
256ba59
..
acd45d3
100644
(file)
--- a/
service/resource-encapsulation/include/RCSException.h
+++ b/
service/resource-encapsulation/include/RCSException.h
@@
-80,10
+80,10
@@
namespace OIC
* Thrown when OC layer returns an error.
*
*/
* Thrown when OC layer returns an error.
*
*/
- class PlatformException: public RCSException
+ class
RCS
PlatformException: public RCSException
{
public:
{
public:
- explicit PlatformException(OCStackResult reason);
+ explicit
RCS
PlatformException(OCStackResult reason);
/**
* Returns the reason.
/**
* Returns the reason.
@@
-105,43
+105,43
@@
namespace OIC
* Thrown when a request is not acceptable.
*
*/
* Thrown when a request is not acceptable.
*
*/
- class BadRequestException: public RCSException
+ class
RCS
BadRequestException: public RCSException
{
public:
{
public:
- explicit BadRequestException(const std::string& what);
- explicit BadRequestException(std::string&& what);
+ explicit
RCS
BadRequestException(const std::string& what);
+ explicit
RCS
BadRequestException(std::string&& what);
};
/**
* Thrown when a parameter is not valid.
*
*/
};
/**
* Thrown when a parameter is not valid.
*
*/
- class InvalidParameterException: public RCSException
+ class
RCS
InvalidParameterException: public RCSException
{
public:
{
public:
- explicit InvalidParameterException(const std::string& what);
- explicit InvalidParameterException(std::string&& what);
+ explicit
RCS
InvalidParameterException(const std::string& what);
+ explicit
RCS
InvalidParameterException(std::string&& what);
};
/**
* Thrown when getting value with wrong template parameter.
*/
};
/**
* Thrown when getting value with wrong template parameter.
*/
- class BadGetException: public RCSException
+ class
RCS
BadGetException: public RCSException
{
public:
{
public:
- explicit BadGetException(const std::string& what);
- explicit BadGetException(std::string&& what);
+ explicit
RCS
BadGetException(const std::string& what);
+ explicit
RCS
BadGetException(std::string&& what);
};
/**
* Thrown when a key is invalid.
*
*/
};
/**
* Thrown when a key is invalid.
*
*/
- class InvalidKeyException: public RCSException
+ class
RCS
InvalidKeyException: public RCSException
{
public:
{
public:
- explicit InvalidKeyException(const std::string& what);
- explicit InvalidKeyException(std::string&& what);
+ explicit
RCS
InvalidKeyException(const std::string& what);
+ explicit
RCS
InvalidKeyException(std::string&& what);
};
}
};
}