public class MappingInstantiationException extends RuntimeException
| Constructor and Description |
|---|
MappingInstantiationException(List<Object> arguments,
Exception cause)
Creates a new
MappingInstantiationException for the given constructor arguments and the causing exception. |
MappingInstantiationException(PersistentEntity<?,?> entity,
List<Object> arguments,
Exception cause)
Creates a new
MappingInstantiationException for the given PersistentEntity, constructor arguments
and the causing exception. |
| Modifier and Type | Method and Description |
|---|---|
Optional<Constructor<?>> |
getConstructor()
The constructor used during the instantiation attempt.
|
List<Object> |
getConstructorArguments()
The constructor arguments used to invoke the constructor.
|
Optional<Class<?>> |
getEntityType()
Returns the type of the entity that was attempted to instantiate.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic MappingInstantiationException(PersistentEntity<?,?> entity, List<Object> arguments, Exception cause)
MappingInstantiationException for the given PersistentEntity, constructor arguments
and the causing exception.entity - arguments - cause - public MappingInstantiationException(List<Object> arguments, Exception cause)
MappingInstantiationException for the given constructor arguments and the causing exception.arguments - cause - public Optional<Class<?>> getEntityType()
public Optional<Constructor<?>> getConstructor()
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.