43 |
*/ |
*/ |
44 |
protected short status; |
protected short status; |
45 |
|
|
46 |
/* |
/* |
47 |
* The message. |
* The message. |
48 |
*/ |
*/ |
49 |
protected String message; |
protected String message; |
50 |
|
|
51 |
/** |
/** |
52 |
* Constructor. |
* Constructor. |
54 |
protected StatusResponse(short status, String message) |
protected StatusResponse(short status, String message) |
55 |
{ |
{ |
56 |
this.status = status; |
this.status = status; |
57 |
this.message = message; |
this.message = message; |
58 |
} |
} |
59 |
|
|
60 |
/** |
/** |
64 |
{ |
{ |
65 |
return status; |
return status; |
66 |
} |
} |
67 |
|
|
68 |
/** |
/** |
69 |
* Returns the message associated with this response. |
* Returns the message associated with this response. |
70 |
*/ |
*/ |
72 |
{ |
{ |
73 |
return message; |
return message; |
74 |
} |
} |
75 |
|
|
76 |
} |
} |