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 CommandResponse
cmdReq
- Object encapsulating the request information.Exception
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.