public class SendErrorResponse extends Object implements CommandResponse
| Constructor and Description |
|---|
SendErrorResponse(int errorCode)
Constructor
|
SendErrorResponse(String errorCode)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
execute(CommandRequest cmdReq)
Executes this response object.
|
String |
toString()
toString implementation
|
public SendErrorResponse(int errorCode)
public SendErrorResponse(String errorCode)
public boolean execute(CommandRequest cmdReq) throws Exception
execute in interface CommandResponsecmdReq - Object encapsulating the request information.ExceptionCopyright © 2001–2017 JBoss by Red Hat. All rights reserved.