Package com.googlecode.objectify
Class LoadException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.googlecode.objectify.TranslateException
-
- com.googlecode.objectify.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 Summary
Constructors Constructor Description 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.cloud.datastore.BaseEntity<?>
getEntity()
The complete version of what we couldn't translate-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-