Package com.google.cloud.spanner
Class SessionNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.google.cloud.BaseServiceException
com.google.cloud.grpc.BaseGrpcServiceException
com.google.cloud.spanner.SpannerException
com.google.cloud.spanner.SpannerException.ResourceNotFoundException
com.google.cloud.spanner.SessionNotFoundException
- All Implemented Interfaces:
Serializable
Exception thrown by Cloud Spanner when an operation detects that the session that is being used
is no longer valid. This type of error has its own subclass as it is a condition that should
normally be hidden from the user, and the client library should try to fix this internally.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.cloud.spanner.SpannerException
SpannerException.ResourceNotFoundException
Nested classes/interfaces inherited from class com.google.cloud.BaseServiceException
com.google.cloud.BaseServiceException.Error, com.google.cloud.BaseServiceException.ExceptionData
-
Field Summary
Fields inherited from class com.google.cloud.BaseServiceException
UNKNOWN_CODE
-
Method Summary
Methods inherited from class com.google.cloud.spanner.SpannerException.ResourceNotFoundException
getResourceName
Methods inherited from class com.google.cloud.spanner.SpannerException
getDomain, getErrorCode, getErrorDetails, getMetadata, getReason, getRetryDelayInMillis
Methods inherited from class com.google.cloud.BaseServiceException
equals, getCode, getDebugInfo, getLocation, hashCode, isRetryable, isRetryable, isRetryable, translate, translate
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString