message_(std::move(GetErrorMessage(error_code_, file, line))) {
}
-Exception::~Exception() = default;
-
const char* Exception::what() const noexcept {
return message_.c_str();
}
class Exception : public std::exception {
public:
explicit Exception(int error_code, const std::string& file, int line);
- virtual ~Exception();
+ virtual ~Exception() = default;
virtual const char* what() const noexcept;
int GetErrorCode();
port_type_(std::move(port_type)) {
}
-Request::Request() = default;
-
-Request::~Request() = default;
-
void Request::SetPortType(std::string port_type) {
port_type_ = std::move(port_type);
}
class Request : public tizen_base::Parcelable {
public:
Request(std::string instance, std::string port_type);
- Request();
- ~Request();
+ Request() = default;
+ ~Request() = default;
void SetPortType(std::string port_type);
const std::string& GetInstance();
Response::Response() : result_(0) {
}
-Response::~Response() = default;
-
int Response::GetResult() {
return result_;
}
public:
explicit Response(int result);
Response();
- ~Response();
+ ~Response() = default;
int GetResult();
data_(std::move(data)) {
}
-Message::~Message() = default;
-
void Message::Print() {
struct tm sent_time;
localtime_r(&time_, &sent_time);
Message(time_t time, int pid, std::string port_name, std::string destination,
bool is_delegate, int port, bool is_read, uint32_t seq,
std::vector<unsigned char> data);
- virtual ~Message();
+ virtual ~Message() = default;
void Print();