ccc.client.core
Class SessionTimeoutException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by ccc.client.core.SessionTimeoutException
All Implemented Interfaces:
java.io.Serializable

public class SessionTimeoutException
extends java.lang.Exception

A client-side exception, indicating the user's session expired.

Author:
Civic Computing Ltd.
See Also:
Serialized Form

Constructor Summary
SessionTimeoutException(java.lang.String message)
          Constructor.
 
Method Summary
static boolean isTimedout(java.lang.String message)
          Test if a server response indicates the user's session has expired.
 
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

SessionTimeoutException

public SessionTimeoutException(java.lang.String message)
Constructor.

Parameters:
message - The server message indicating timeout.
Method Detail

isTimedout

public static boolean isTimedout(java.lang.String message)
Test if a server response indicates the user's session has expired.

Parameters:
message - The message to test.
Returns:
True if the session has expired, false otherwise.


Copyright © 2010. All Rights Reserved.