Class BeanMisconfiguredException
Object
Throwable
Exception
AnchorCheckedException
AnchorFriendlyCheckedException
BeanMisconfiguredException
- All Implemented Interfaces:
Serializable
,HasFriendlyErrorMessage
If a Bean is misconfigured.
e.g. missing a value that is required or with a value that violates the constraints of the bean-field
There should always be a sensible message, even if we nest another exception.
- Author:
- Owen Feehan
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBeanMisconfiguredException
(String message) Creates with a message only.BeanMisconfiguredException
(String message, Throwable cause) Creates with a message and a cause. -
Method Summary
Methods inherited from class org.anchoranalysis.core.exception.friendly.AnchorFriendlyCheckedException
friendlyMessage, friendlyMessageHierarchy, friendlyMessageHierarchy, stackTrace
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BeanMisconfiguredException
Creates with a message only.- Parameters:
message
- the message.
-
BeanMisconfiguredException
Creates with a message and a cause.- Parameters:
message
- the messagecause
- the cause.
-