Package edu.ucsb.cs156.frontiers.errors
Class NotAuthenticatedWithGoogleException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.security.core.AuthenticationException
org.springframework.security.oauth2.core.OAuth2AuthenticationException
edu.ucsb.cs156.frontiers.errors.NotAuthenticatedWithGoogleException
- All Implemented Interfaces:
Serializable
public class NotAuthenticatedWithGoogleException
extends org.springframework.security.oauth2.core.OAuth2AuthenticationException
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNotAuthenticatedWithGoogleException
(String errorCode) Constructor for the exception -
Method Summary
Methods inherited from class org.springframework.security.oauth2.core.OAuth2AuthenticationException
getError
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NotAuthenticatedWithGoogleException
Constructor for the exception- Parameters:
errorCode
- Message for the fact that a User is currently not authenticated with Google
-