Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

java.net
Class AckException  view AckException download AckException.java

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.net.AckException
All Implemented Interfaces:
java.io.Serializable

public class AckException
extends java.lang.Exception

This exception is used to vehiculate the sequence number that originated the ack. The communication protocol is based on a send-ack scheme to acquire statistical data to model the channel. When a ack is received by the Connector thread, this exception is thrown.

Version:
1.0

Nested Class Summary
 
Nested classes inherited from class java.lang.Throwable
 
Field Summary
protected  long seqnum
          The sequence number to carry
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
AckException(long seqnum)
          A simple constructor used to build the object storing the sequence number.
 
Method Summary
 long getSeqNum()
          This method can be used to retrieve the carried sequence number
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

seqnum

protected long seqnum
The sequence number to carry

Constructor Detail

AckException

public AckException(long seqnum)
A simple constructor used to build the object storing the sequence number.

Method Detail

getSeqNum

public long getSeqNum()
This method can be used to retrieve the carried sequence number