public class BeanMisconfiguredException extends AnchorFriendlyCheckedException
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.
Constructor and Description |
---|
BeanMisconfiguredException(String message)
Creates with a message only.
|
BeanMisconfiguredException(String message,
Throwable cause)
Creates with a message and a cause.
|
friendlyMessage, friendlyMessageHierarchy, friendlyMessageHierarchy, stackTrace
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public BeanMisconfiguredException(String message)
message
- the message.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.