public class BeanDefinitionException extends IllegalStateException
BeanMetaData
,
Serialized FormConstructor and Description |
---|
BeanDefinitionException(Class<?> type,
String property,
Throwable cause)
Constructs a new
BeanDefinitionException with the specified
bean type, property name and cause. |
BeanDefinitionException(Class<?> type,
Throwable cause)
Constructs a new
BeanDefinitionException with the specified
bean type and cause. |
Modifier and Type | Method and Description |
---|---|
Class<?> |
getBeanType()
Returns bean type.
|
String |
getPropertyName()
Returns property name if any.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public BeanDefinitionException(Class<?> type, Throwable cause)
BeanDefinitionException
with the specified
bean type and cause.type
- Bean type.cause
- Failure of the bean definition.public BeanDefinitionException(Class<?> type, String property, Throwable cause)
BeanDefinitionException
with the specified
bean type, property name and cause.type
- Bean type.property
- Property name.cause
- Failure of the bean property definition.Copyright © 2011–2020 FoxLabs. All rights reserved.