Class BeanMisconfiguredException

All Implemented Interfaces:
Serializable, HasFriendlyErrorMessage

public class BeanMisconfiguredException extends AnchorFriendlyCheckedException
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 Details

    • BeanMisconfiguredException

      public BeanMisconfiguredException(String message)
      Creates with a message only.
      Parameters:
      message - the message.
    • BeanMisconfiguredException

      public BeanMisconfiguredException(String message, Throwable cause)
      Creates with a message and a cause.
      Parameters:
      message - the message
      cause - the cause.