@Override
    public RpcResponseCommand createExceptionResponse(int id, ResponseStatus status, Throwable t) {
        RpcResponseCommand responseCommand = this.createExceptionResponse(id, status);
        responseCommand.setResponseObject(createServerException(t, null));
        responseCommand.setResponseClass(RpcServerException.class.getName());
        return responseCommand;
    }
command factory for rpc protocol

@author tsui
@version $Id: RpcCommandFactory.java, v 0.1 2018-03-27 21:37 tsui Exp $
src/main/java/com/alipay/remoting/rpc/RpcCommandFactory.java