Package io.opencensus.implcore.internal
Class Utils
java.lang.Object
io.opencensus.implcore.internal.Utils
General internal utility methods.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> void
checkListElementNotNull
(List<T> list, Object errorMessage) Throws aNullPointerException
if any of the list elements is null.
-
Constructor Details
-
Utils
private Utils()
-
-
Method Details
-
checkListElementNotNull
Throws aNullPointerException
if any of the list elements is null.- Parameters:
list
- the argument list to check for null.errorMessage
- the message to use for the exception. Will be converted to a string usingString.valueOf(Object)
.
-