src/main/java/pityoulish/sockets/server/TLVResponseBuilderImpl.java
protected ByteBuffer buildErrorResponse(String msg)
  {
    return buildSimpleResponsePDU(MsgBoardType.ERROR_RESPONSE,
                                  MsgBoardType.TEXT,
                                  msg, true);
  }
/**
   * Builds a response with an error message.
   *
   * @param msg   the error message
   *
   * @return a buffer containing the response PDU, backed by an array
   */
Builds a response with an error message.
@param msg   the error message

@return a buffer containing the response PDU, backed by an array
Builds a response with an error message . @param msg the error message @return a buffer containing the response PDU backed by an array
protected ByteBuffer buildErrorResponse(String msg)
  {
    return buildSimpleResponsePDU(MsgBoardType.ERROR_RESPONSE,
                                  MsgBoardType.TEXT,
                                  msg, true);
  }
protected ByteBuffer buildErrorResponse ( String msg ) { return buildSimpleResponsePDU ( MsgBoardType . ERROR_RESPONSE , MsgBoardType . TEXT , msg , true ) ; }
Builds a response with an error message.
Builds a response with an error message .