public class MappingInstantiationException extends RuntimeException
Constructor and Description |
---|
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 |
---|---|
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.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public MappingInstantiationException(PersistentEntity<?,?> entity, List<Object> arguments, Exception cause)
MappingInstantiationException
for the given PersistentEntity
, constructor arguments
and the causing exception.entity
- arguments
- cause
- public Class<?> getEntityType()
public Constructor<?> getConstructor()
Copyright © 2011-2016–2016 Pivotal Software, Inc.. All rights reserved.