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

Exception thrown when an API session id that was obtained via OAuth expires. If not handled, it will bubble up to the SDK security framework (Spring integrated or not) and will result in the user being asked to log in again. To avoid seeing this exception, set the session timeout of your application to be equal to or shorter than your organization's 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 © 2012. All Rights Reserved.