java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.UnsupportedOperationException
io.ebean.BeanAccessException
io.ebean.LazyInitialisationException
- All Implemented Interfaces:
Serializable
Thrown when trying to access a property that isn't loaded on an entity
that is unmodifiable or has disabled lazy loading.
On a normal mutable entity accessing the property would invoke lazy loading. On a unmodifiable entity with lazy loading disabled, accessing an unloaded property throws this LazyInitialisationException instead.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionLazyInitialisationException(String message) Create specifying the property that was being accessed. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
LazyInitialisationException
Create specifying the property that was being accessed.
-