Class BeanStrangeException
Object
Throwable
Exception
RuntimeException
AnchorRuntimeException
AnchorFriendlyRuntimeException
BeanStrangeException
- All Implemented Interfaces:
Serializable
,HasFriendlyErrorMessage
When something quite strange happens that we don't usually want to catch.
This type of "black swan" exception is for errors where we aren't going to invest much effort in handling, unless it starts becoming thrown regularly.
- Author:
- Owen Feehan
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBeanStrangeException
(String message) Creates with a message only.BeanStrangeException
(String message, Throwable cause) Creates with a message and cause. -
Method Summary
Methods inherited from class org.anchoranalysis.core.exception.friendly.AnchorFriendlyRuntimeException
friendlyMessage, friendlyMessageHierarchy, friendlyMessageHierarchy
Methods inherited from class org.anchoranalysis.core.exception.AnchorRuntimeException
toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
BeanStrangeException
Creates with a message only.- Parameters:
message
- the message.
-
BeanStrangeException
Creates with a message and cause.- Parameters:
message
- the message.cause
- the cause.
-