|
Spring Data Core | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException org.springframework.data.mapping.model.MappingInstantiationException
public class MappingInstantiationException
Exception being thrown in case an entity could not be instantiated in the process of a to-object-mapping.
Constructor Summary | |
---|---|
MappingInstantiationException(PersistentEntity<?,?> entity,
List<Object> arguments,
Exception cause)
Creates a new MappingInstantiationException for the given PersistentEntity , constructor arguments
and the causing exception. |
|
MappingInstantiationException(String message,
Exception cause)
Deprecated. use MappingInstantiationException(PersistentEntity, List, String, Exception) instead. |
Method Summary | |
---|---|
Constructor<?> |
getConstructor()
The constructor used during the instantiation attempt. |
List<Object> |
getConstructorArguments()
The constructor arguments used to invoke the constructor. |
Class<?> |
getEntityType()
Returns the type of the entity that was attempted to instantiate. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
@Deprecated public MappingInstantiationException(String message, Exception cause)
MappingInstantiationException(PersistentEntity, List, String, Exception)
instead.
MappingInstantiationException
using the given message and cause.
message
- cause
- public MappingInstantiationException(PersistentEntity<?,?> entity, List<Object> arguments, Exception cause)
MappingInstantiationException
for the given PersistentEntity
, constructor arguments
and the causing exception.
entity
- arguments
- cause
- Method Detail |
---|
public Class<?> getEntityType()
public Constructor<?> getConstructor()
public List<Object> getConstructorArguments()
|
Spring Data Core | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |