Page History
...
The internal default settings are:
Status | OK |
|---|---|
Message | zero length string object |
ByteArray | zero length byte array object |
List | null object |
Fieldlist | null object |
Two static final string variables called OK and ERROR are available for ease of use.
Example
...
new JSMResponse ( "Ok message" ) ;
...
new JSMResponse ( JSMResponse.OK, "Ok message" ) ;
...
new JSMResponse ( JSMResponse.ERROR, "Error message" ) ;
...
new JSMResponse ( exception ) ;