Class DatastoreException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.google.datastore.v1.client.DatastoreException
All Implemented Interfaces:
Serializable

public class DatastoreException extends Exception
Indicates an error in a Datastore call.
See Also:
  • Constructor Details

    • DatastoreException

      public DatastoreException(String methodName, com.google.rpc.Code code, String message, Throwable cause)
  • Method Details

    • getCode

      public com.google.rpc.Code getCode()
      Returns:
      the canonical error code
    • getMethodName

      public String getMethodName()
      Returns:
      the datastore method name
    • toString

      public String toString()
      Overrides:
      toString in class Throwable