com.sleepycat.je.rep.impl
Class TextProtocol.ProtocolError

java.lang.Object
  extended by com.sleepycat.je.rep.impl.TextProtocol.Message
      extended by com.sleepycat.je.rep.impl.TextProtocol.ResponseMessage
          extended by com.sleepycat.je.rep.impl.TextProtocol.ProtocolError
All Implemented Interfaces:
TextProtocol.WireFormatable
Enclosing class:
TextProtocol

public class TextProtocol.ProtocolError
extends TextProtocol.ResponseMessage


Constructor Summary
TextProtocol.ProtocolError(String responseLine, String[] tokens)
           
TextProtocol.ProtocolError(TextProtocol.InvalidMessageException messageException)
           
TextProtocol.ProtocolError(TextProtocol.MessageError messageError, String message)
           
 
Method Summary
 boolean equals(Object obj)
           
 TextProtocol.MessageError getErrorType()
           
 String getMessage()
           
 TextProtocol.MessageOp getOp()
           
 int hashCode()
           
 String wireFormat()
           
 
Methods inherited from class com.sleepycat.je.rep.impl.TextProtocol.ResponseMessage
wireFormatPrefix
 
Methods inherited from class com.sleepycat.je.rep.impl.TextProtocol.Message
getCurrentTokenPosition, getMessagePrefix, getProtocol, getSenderId, nextPayloadToken
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextProtocol.ProtocolError

public TextProtocol.ProtocolError(TextProtocol.InvalidMessageException messageException)

TextProtocol.ProtocolError

public TextProtocol.ProtocolError(TextProtocol.MessageError messageError,
                                  String message)

TextProtocol.ProtocolError

public TextProtocol.ProtocolError(String responseLine,
                                  String[] tokens)
                           throws TextProtocol.InvalidMessageException
Throws:
TextProtocol.InvalidMessageException
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class TextProtocol.ResponseMessage

equals

public boolean equals(Object obj)
Overrides:
equals in class TextProtocol.ResponseMessage

getOp

public TextProtocol.MessageOp getOp()
Specified by:
getOp in class TextProtocol.Message

wireFormat

public String wireFormat()

getErrorType

public TextProtocol.MessageError getErrorType()

getMessage

public String getMessage()


Copyright (c) 2004-2010 Oracle. All rights reserved.