public class TextProtocol.ProtocolError extends TextProtocol.ResponseMessage
messagePrefixNocheck, sendVersion
Constructor and Description |
---|
TextProtocol.ProtocolError(java.lang.String responseLine,
java.lang.String[] tokens) |
TextProtocol.ProtocolError(TextProtocol.InvalidMessageException messageException) |
TextProtocol.ProtocolError(TextProtocol.MessageError messageError,
java.lang.String message) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
TextProtocol.MessageError |
getErrorType() |
java.lang.String |
getMessage() |
TextProtocol.MessageOp |
getOp() |
int |
hashCode() |
java.lang.String |
wireFormat() |
wireFormatPrefix
getCurrentTokenPosition, getMessagePrefix, getProtocol, getSenderId, getSendVersion, nextPayloadToken, setSendVersion
public TextProtocol.ProtocolError(TextProtocol.InvalidMessageException messageException)
public TextProtocol.ProtocolError(TextProtocol.MessageError messageError, java.lang.String message)
public TextProtocol.ProtocolError(java.lang.String responseLine, java.lang.String[] tokens) throws TextProtocol.InvalidMessageException
public int hashCode()
hashCode
in class TextProtocol.ResponseMessage
public boolean equals(java.lang.Object obj)
equals
in class TextProtocol.ResponseMessage
public TextProtocol.MessageOp getOp()
getOp
in class TextProtocol.Message
public java.lang.String wireFormat()
public TextProtocol.MessageError getErrorType()
public java.lang.String getMessage()
Copyright (c) 2004-2012 Oracle. All rights reserved.