org.otfeed.protocol
Class ProtocolException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.otfeed.protocol.ProtocolException
All Implemented Interfaces:
java.io.Serializable

public class ProtocolException
extends java.lang.RuntimeException

Runtime exception type to be thrown when a protocol violation occurs. This exception holds the frame that caused the problem. The frame content will be printed if exception is printed.

See Also:
Serialized Form

Constructor Summary
ProtocolException(java.lang.String reason, java.nio.ByteBuffer bb)
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProtocolException

public ProtocolException(java.lang.String reason,
                         java.nio.ByteBuffer bb)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Throwable


Copyright © 2007 Mike Kroutikov. All Rights Reserved.