javax.microedition.ipdr
Class InvalidSessionStateException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.microedition.ipdr.SessionException
              extended byjavax.microedition.ipdr.InvalidSessionStateException
All Implemented Interfaces:
java.io.Serializable

public class InvalidSessionStateException
extends SessionException

Indicates invalid state transition or message for a session.

Version:
1.0
Author:
Shai Gotlib

Field Summary
 
Fields inherited from class javax.microedition.ipdr.SessionException
sessionId
 
Fields inherited from class java.lang.Exception
 
Constructor Summary
InvalidSessionStateException(byte sessionId)
          Constructor for InvalidStateException.
InvalidSessionStateException(byte sessionId, java.lang.String message)
          Constructor for InvalidStateException.
 
Methods inherited from class javax.microedition.ipdr.SessionException
getSessionId
 
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
 

Constructor Detail

InvalidSessionStateException

public InvalidSessionStateException(byte sessionId)
Constructor for InvalidStateException.

Parameters:
sessionId - the session id where the exception occured

InvalidSessionStateException

public InvalidSessionStateException(byte sessionId,
                                    java.lang.String message)
Constructor for InvalidStateException.

Parameters:
sessionId - the session id where the exception occured
message - descriptive message