edu.UCL.xmiddle.framework.lib
Class InvalidSessionIDException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--edu.UCL.xmiddle.framework.lib.InvalidSessionIDException
All Implemented Interfaces:
java.io.Serializable

public class InvalidSessionIDException
extends java.lang.Exception

InvalidSessionIDException.java An exception thrown when Network is given a session ID for a protocol session, which does not exist in its database. Created: Fri Jul 20 15:59:17 2001

See Also:
Serialized Form

Constructor Summary
InvalidSessionIDException(java.lang.String message, java.lang.Object sessionID)
          Creates a new InvalidSessionIDException instance.
 
Method Summary
 java.lang.String getMessage()
          Returns the exception's message
 java.lang.Object getSessionID()
          Returns the invalid session ID
 
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

InvalidSessionIDException

public InvalidSessionIDException(java.lang.String message,
                                 java.lang.Object sessionID)
Creates a new InvalidSessionIDException instance.

Parameters:
message - The exception message
sessionID - The existing session ID
Method Detail

getMessage

public java.lang.String getMessage()
Returns the exception's message

Overrides:
getMessage in class java.lang.Throwable
Returns:
a String value

getSessionID

public java.lang.Object getSessionID()
Returns the invalid session ID

Returns:
an Object value