edu.UCL.xmiddle.framework.lib
Class ExistingSessionIDException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--edu.UCL.xmiddle.framework.lib.ExistingSessionIDException
- All Implemented Interfaces:
- java.io.Serializable
- public class ExistingSessionIDException
- extends java.lang.Exception
ExistingSessionIDException.java
An exception thrown when a protocol session tries to register with
a session ID that already exists.
Created: Fri Jul 20 16:01:51 2001
- See Also:
- Serialized Form
Constructor Summary |
ExistingSessionIDException(java.lang.String message,
java.lang.Object sessionID)
Creates a new ExistingSessionIDException instance. |
Method Summary |
java.lang.String |
getMessage()
Returns the exception's message |
java.lang.Object |
getSessionID()
Returns the existing 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 |
ExistingSessionIDException
public ExistingSessionIDException(java.lang.String message,
java.lang.Object sessionID)
- Creates a new
ExistingSessionIDException
instance.
- Parameters:
message
- The exception messagesessionID
- The existing session ID
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 existing session ID
- Returns:
- an
Object
value