All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cpp-tizen-client.error-body.mustache Maven / Gradle / Ivy

There is a newer version: 7.9.0
Show newest version
#include "Error.h"

using namespace std;
using namespace Tizen::{{prefix}};

Error::Error()
{
	init();
}

Error::Error(int code, string message)
{
	init();
	this->setCode(code);
	this->setMessage(message);
}

Error::~Error()
{
	this->cleanup();
}

void
Error::init()
{
	pCode = 0;
	pMessage = "";
}

void
Error::cleanup()
{

}

int
Error::getCode()
{
	return pCode;
}

void
Error::setCode(int pCode)
{
	this->pCode = pCode;
}

string
Error::getMessage()
{
	return pMessage;
}

void
Error::setMessage(string pMessage)
{
	this->pMessage = pMessage;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy