jnetpcap.capture
Class RemoteProtocolException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by jnetpcap.capture.RemoteProtocolException
All Implemented Interfaces:
java.io.Serializable

public class RemoteProtocolException
extends java.lang.Exception

If a protocol error occures between CaptureSender and CaptureReceiver this exception will contain specific information about the failure. Failures may be as a result of an IO error if cought will be reported by throwing the standard IOException. If an IOException was thrown previously and stream was not able to properly recover from the earlier error, any follow up operations on the sender or receiver will very likely generate protocol errors.

Author:
Mark Bednarczyk, Sly Technologies, Inc.
See Also:
Serialized Form

Constructor Summary
RemoteProtocolException()
           
RemoteProtocolException(java.lang.String message)
           
RemoteProtocolException(java.lang.String message, java.lang.Throwable cause)
           
RemoteProtocolException(java.lang.Throwable cause)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RemoteProtocolException

public RemoteProtocolException()

RemoteProtocolException

public RemoteProtocolException(java.lang.String message)
Parameters:
message -

RemoteProtocolException

public RemoteProtocolException(java.lang.String message,
                               java.lang.Throwable cause)
Parameters:
message -
cause -

RemoteProtocolException

public RemoteProtocolException(java.lang.Throwable cause)
Parameters:
cause -