You are here

setCode

setCode(int code, String message) - method to set a status code and message.

Parameters

code
A string representing the code.
message
A string representing the message.

Returns

void