Example usage for Java org.springframework.beans.factory BeanCreationException fields, constructors, methods, implement or subclass
The text is from its open source code.
BeanCreationException(String msg, Throwable cause) Create a new BeanCreationException. | |
BeanCreationException(String beanName, String msg) Create a new BeanCreationException. | |
BeanCreationException(String msg) Create a new BeanCreationException. | |
BeanCreationException(String beanName, String msg, Throwable cause) Create a new BeanCreationException. | |
BeanCreationException(@Nullable String resourceDescription, @Nullable String beanName, String msg) Create a new BeanCreationException. | |
BeanCreationException(@Nullable String resourceDescription, String beanName, String msg, Throwable cause) Create a new BeanCreationException. |
boolean | contains(@Nullable Class> exClass) |
String | getBeanName() Return the name of the bean requested, if any. |
Throwable | getCause() Returns the cause of this throwable or null if the cause is nonexistent or unknown. |
String | getMessage() Return the detail message, including the message from the nested exception if there is one. |
Throwable | getMostSpecificCause() Retrieve the most specific cause of this exception, that is, either the innermost cause (root cause) or this exception itself. |
Throwable[] | getRelatedCauses() Return the related causes, if any. |
String | getResourceDescription() Return the description of the resource that the bean definition came from, if any. |
Throwable | getRootCause() Retrieve the innermost cause of this exception, if any. |
void | printStackTrace() Prints this throwable and its backtrace to the standard error stream. |
String | toString() |