Package io.deephaven.base.verify
Class ExceptionMessageUtil
java.lang.Object
io.deephaven.base.verify.ExceptionMessageUtil
String utility methods related to assertions.
- (package) String failureMessage(String assertionType, String preamble, String message, String detailMessage)
- (package) String valueString(Object)
- (public) String valueAndName(value0, String name0, value1, String name1, ... )
- (public) String concat(String valueAndName0, String valueAndName1, ... )
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
Return the concatenation of a list of valueAndName strings.static String
static String
static String
failureMessage
(String assertionType, String assertedText, String conditionText, String detailMessage) Return message string for assertion failure.static String
fillChar
(char c, int count) Builds a string that consists of count copies of the character c.static String
valueAndName
(boolean b0, String name0) Return the values and names of one or more booleans.static String
valueAndName
(boolean b0, String name0, boolean b1, String name1) static String
valueAndName
(boolean b0, String name0, boolean b1, String name1, boolean b2, String name2) static String
valueAndName
(boolean b0, String name0, boolean b1, String name1, boolean b2, String name2, boolean b3, String name3) static String
valueAndName
(byte b0, String name0) Return the values and names of one or more bytes.static String
valueAndName
(byte b0, String name0, byte b1, String name1) static String
valueAndName
(byte b0, String name0, byte b1, String name1, byte b2, String name2) static String
valueAndName
(byte b0, String name0, byte b1, String name1, byte b2, String name2, byte b3, String name3) static String
valueAndName
(char c0, String name0) Return the values and names of one or more charsstatic String
valueAndName
(char c0, String name0, char c1, String name1) static String
valueAndName
(char c0, String name0, char c1, String name1, char c2, String name2) static String
valueAndName
(char c0, String name0, char c1, String name1, char c2, String name2, char c3, String name3) static String
valueAndName
(double d0, String name0) Return the values and names of one or more doubles.static String
valueAndName
(double d0, String name0, double d1, String name1) static String
valueAndName
(double d0, String name0, double d1, String name1, double d2, String name2) static String
valueAndName
(double d0, String name0, double d1, String name1, double d2, String name2, double d3, String name3) static String
valueAndName
(float f0, String name0) Return the values and names of one or more floats.static String
valueAndName
(float f0, String name0, float f1, String name1) static String
valueAndName
(float f0, String name0, float f1, String name1, float f2, String name2) static String
valueAndName
(float f0, String name0, float f1, String name1, float f2, String name2, float f3, String name3) static String
valueAndName
(int i0, String name0) Return the values and names of one or more ints.static String
valueAndName
(int i0, String name0, int i1, String name1) static String
valueAndName
(int i0, String name0, int i1, String name1, int i2, String name2) static String
valueAndName
(int i0, String name0, int i1, String name1, int i2, String name2, int i3, String name3) static String
valueAndName
(long l0, String name0) Return the values and names of one or more longs.static String
valueAndName
(long l0, String name0, long l1, String name1) static String
valueAndName
(long l0, String name0, long l1, String name1, long l2, String name2) static String
valueAndName
(long l0, String name0, long l1, String name1, long l2, String name2, long l3, String name3) static String
valueAndName
(short s0, String name0) Return the values and names of one or more shorts.static String
valueAndName
(short s0, String name0, short s1, String name1) static String
valueAndName
(short s0, String name0, short s1, String name1, short s2, String name2) static String
valueAndName
(short s0, String name0, short s1, String name1, short s2, String name2, short s3, String name3) static String
valueAndName
(Object o0, String name0) Return the values and names of one or more Objects.static String
valueAndName
(Object o0, String name0, Object o1, String name1) static String
static String
valueAndName
(Object o0, String name0, Object o1, String name1, Object o2, String name2, Object o3, String name3) static String
valueString
(char c) Return the quoted textual representation of char value.static String
Return the textual representation of an Object's value.
-
Constructor Details
-
ExceptionMessageUtil
public ExceptionMessageUtil()
-
-
Method Details
-
failureMessage
public static String failureMessage(String assertionType, String assertedText, String conditionText, String detailMessage) Return message string for assertion failure. -
valueString
Return the textual representation of an Object's value. -
valueString
Return the quoted textual representation of char value. -
fillChar
Builds a string that consists of count copies of the character c.- Parameters:
c
- character to use repeatedlycount
- number of times to repeat c- Returns:
- new string filled with the character c
-
valueAndName
Return the values and names of one or more Objects. -
valueAndName
-
valueAndName
-
valueAndName
-
valueAndName
Return the values and names of one or more booleans. -
valueAndName
-
valueAndName
-
valueAndName
-
valueAndName
Return the values and names of one or more chars -
valueAndName
-
valueAndName
-
valueAndName
-
valueAndName
Return the values and names of one or more bytes. -
valueAndName
-
valueAndName
-
valueAndName
-
valueAndName
Return the values and names of one or more shorts. -
valueAndName
-
valueAndName
-
valueAndName
-
valueAndName
Return the values and names of one or more ints. -
valueAndName
-
valueAndName
-
valueAndName
-
valueAndName
Return the values and names of one or more longs. -
valueAndName
-
valueAndName
-
valueAndName
-
valueAndName
Return the values and names of one or more floats. -
valueAndName
-
valueAndName
-
valueAndName
-
valueAndName
Return the values and names of one or more doubles. -
valueAndName
-
valueAndName
-
valueAndName
-
concat
Return the concatenation of a list of valueAndName strings. -
concat
-
concat
-