WrongSessionStateException
is thrown. Note that the states are bit values in integer, so there can be a "set" of states required, the session must be in one of the states required. The checking can be turned off, see disableStateChecking.
@param requestedState the state(s) in which the session is expected to be; if itis not, then exception is thrown
@throws WrongSessionStateException if the session is not in the staterequired
@see WrongSessionStateException
|
|