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. |
MappingInstantiationException(String message,
Exception cause)
Deprecated.
|
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
@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
- public Class<?> getEntityType()
public Constructor<?> getConstructor()
Copyright © 2011-2014–2015 Pivotal Software, Inc.. All rights reserved.