Class Utils
java.lang.Object
io.opencensus.implcore.internal.Utils
General internal utility methods.
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> voidcheckListElementNotNull(List<T> list, Object errorMessage) Throws aNullPointerExceptionif any of the list elements is null.
-
Method Details
-
checkListElementNotNull
Throws aNullPointerExceptionif 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).
-