Class LoadException

  • All Implemented Interfaces:
    Serializable

    public class LoadException
    extends TranslateException
    Thrown when something went wrong during the load translation process; for example, the data in the datastore might be in a format incompatible with the intended pojo field. Indicates what went wrong with which entity.
    See Also:
    Serialized Form
    • Constructor Detail

      • LoadException

        public LoadException​(com.google.cloud.datastore.BaseEntity<?> entity,
                             String message,
                             Throwable cause)
        Constructor to use when you're saving an entity with a known key
    • Method Detail

      • getEntity

        public com.google.cloud.datastore.BaseEntity<?> getEntity()
        The complete version of what we couldn't translate