com.sun.multicast.reliable.transport
Class SessionDoneException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.sun.multicast.reliable.RMException
                    |
                    +--com.sun.multicast.reliable.transport.SessionDoneException
All Implemented Interfaces:
java.io.Serializable

public class SessionDoneException
extends RMException

The SessionDoneException is thrown when the transport detects the end of a multicast session. This exception may be thrown by any method of RMPacketSocket or RMStreamSocket when the transport session has been completed and no more operations may be performed. Once this exception is thrown, the application should close the socket.

Some transports throw this exception when all senders have closed their sockets. Others use other criteria. Some never throw this exception.

See Also:
Serialized Form

Constructor Summary
SessionDoneException()
          Constructs a SessionDoneException message with no detail.
SessionDoneException(java.lang.String s)
          Constructs a SessionDoneException message with a detail string.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SessionDoneException

public SessionDoneException()
Constructs a SessionDoneException message with no detail.

SessionDoneException

public SessionDoneException(java.lang.String s)
Constructs a SessionDoneException message with a detail string.
Parameters:
s - the detail message


JavaTM Reliable MulticastTM Service version 1.1
Copyright (c) 2001, Sun Microsystems Laboratories, All rights reserved.