com.sleepycat.je.rep.utilint
Class BinaryProtocol.ProtocolException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.sleepycat.je.utilint.InternalException
                  extended by com.sleepycat.je.rep.utilint.BinaryProtocol.ProtocolException
All Implemented Interfaces:
Serializable
Enclosing class:
BinaryProtocol

public static class BinaryProtocol.ProtocolException
extends InternalException

Thrown in response to an unexpected response to a request.

See Also:
Serialized Form

Constructor Summary
BinaryProtocol.ProtocolException(BinaryProtocol.Message unexpectedMessage, Class<? extends BinaryProtocol.Message> cl)
          Constructor used for message sequencing errors.
BinaryProtocol.ProtocolException(String message)
           
 
Method Summary
 String getMessage()
           
 BinaryProtocol.Message getUnexpectedMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BinaryProtocol.ProtocolException

public BinaryProtocol.ProtocolException(BinaryProtocol.Message unexpectedMessage,
                                        Class<? extends BinaryProtocol.Message> cl)
Constructor used for message sequencing errors.


BinaryProtocol.ProtocolException

public BinaryProtocol.ProtocolException(String message)
Method Detail

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable

getUnexpectedMessage

public BinaryProtocol.Message getUnexpectedMessage()


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