mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-08 19:33:55 +00:00
36 lines
493 B
C++
36 lines
493 B
C++
#ifndef SamiError_H_
|
|
#define SamiError_H_
|
|
|
|
#include <FBase.h>
|
|
|
|
using namespace Tizen::Base;
|
|
|
|
namespace Swagger {
|
|
|
|
class SamiError {
|
|
public:
|
|
SamiError();
|
|
SamiError(int code, String* message);
|
|
virtual ~SamiError();
|
|
|
|
|
|
void init();
|
|
|
|
void cleanup();
|
|
|
|
int getCode();
|
|
void setCode(int pCode);
|
|
|
|
String* getMessage();
|
|
void setMessage(String* pMessage);
|
|
|
|
|
|
private:
|
|
int pCode;
|
|
String* pMessage;
|
|
};
|
|
|
|
} /* namespace Swagger */
|
|
|
|
#endif /* SamiError_H_ */
|