public final class DatastoreException extends BaseHttpServiceException
Datastore service exception. See Also: Google Cloud Datastore error codes
Inherited Members
com.google.cloud.BaseServiceException.equals(java.lang.Object)
com.google.cloud.BaseServiceException.getCode()
com.google.cloud.BaseServiceException.getDebugInfo()
com.google.cloud.BaseServiceException.getLocation()
com.google.cloud.BaseServiceException.getReason()
com.google.cloud.BaseServiceException.hashCode()
com.google.cloud.BaseServiceException.isRetryable()
com.google.cloud.BaseServiceException.isRetryable(boolean,java.io.IOException)
com.google.cloud.BaseServiceException.isRetryable(java.lang.Integer,java.lang.String,boolean,java.util.Set<com.google.cloud.BaseServiceException.Error>)
com.google.cloud.BaseServiceException.translate(com.google.cloud.RetryHelper.RetryHelperException)
com.google.cloud.BaseServiceException.translate(java.util.concurrent.ExecutionException)
Constructors
DatastoreException(int code, String message, String reason)
public DatastoreException(int code, String message, String reason)
DatastoreException(int code, String message, String reason, boolean idempotent, Throwable cause)
public DatastoreException(int code, String message, String reason, boolean idempotent, Throwable cause)
Parameters | |
---|---|
Name | Description |
code |
int |
message |
String |
reason |
String |
idempotent |
boolean |
cause |
Throwable |
DatastoreException(int code, String message, String reason, Throwable cause)
public DatastoreException(int code, String message, String reason, Throwable cause)
DatastoreException(IOException exception)
public DatastoreException(IOException exception)
Parameter | |
---|---|
Name | Description |
exception |
IOException |