Constructs an instance with a message that is the
String.valueOf(Object) of the object passed. If the object passed
is an instance of
Throwable , then it also becomes the cause of
this error.
Parameters: detailMessage - The value to be converted into the message and optionally thecause.
AssertionError
public AssertionError(boolean detailMessage)(Code)
Constructs an instance with a message that is the
String.valueOf(boolean) of the boolean passed.
Parameters: detailMessage - The value to be converted into the message.
Constructs an instance with a message that is the
String.valueOf(char) of the char passed.
Parameters: detailMessage - The value to be converted into the message.
Constructs an instance with a message that is the
String.valueOf(int) of the int passed.
Parameters: detailMessage - The value to be converted into the message.
Constructs an instance with a message that is the
String.valueOf(long) of the long passed.
Parameters: detailMessage - The value to be converted into the message.
Constructs an instance with a message that is the
String.valueOf(float) of the float passed.
Parameters: detailMessage - The value to be converted into the message.
Constructs an instance with a message that is the
String.valueOf(double) of the double passed.
Parameters: detailMessage - The value to be converted into the message.