A Failure Detail constructed from a java.lang.Throwable
.
A Failure Detail constructed from a java.lang.Throwable
.
- the Throwable
whose stack trace is converted into a string and used as the failure detail.
A Failure Detail constructed from a human readable message.
A Failure Detail constructed from a human readable message.
- a string which consitutes the message to be used for the failure detail.
Constructs an Exception
failure detail from the passed-in Throwable
.
Constructs an Exception
failure detail from the passed-in Throwable
.
exceptionFailureDetail - a FailureDetail generated from the passed-in Throwable
.
Constructs a Message-based FailureDetail failure detail from the passed-in String
.
Constructs a Message-based FailureDetail failure detail from the passed-in String
.
- the string used to generate the failure detail.
messageFailureDetail - a FailureDetail generated from the passed-in String
.
(Since version ) see corresponding Javadoc for more information.
The
FailureDetail
companion consists of the enumerated concreteFailureDetail
data types.