com.force.sdk.oauth.exception
Class ForceOAuthSessionExpirationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.force.sdk.oauth.exception.ForceOAuthSessionExpirationException
All Implemented Interfaces:
Serializable

public class ForceOAuthSessionExpirationException
extends RuntimeException

This exception will be thrown when a Database.com API session id that was obtained via OAuth expires. If not handled it will bubble up to the Database.com SDK security framework (Spring integrated or not) and will result in the user being asked to log in again. In order to avoid seeing this exception be sure to set the session timeout of your application to be equal to or shorter than your Database.com session timeout.

Author:
John Simone
See Also:
Serialized Form

Constructor Summary
ForceOAuthSessionExpirationException()
           
 
Method Summary
 
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

ForceOAuthSessionExpirationException

public ForceOAuthSessionExpirationException()


Copyright © 2011. All Rights Reserved.