Class LooseValidations

java.lang.Object
com.amazonaws.xray.utils.LooseValidations

public final class LooseValidations extends Object
Utilities for validating parameters loosely. By default, validation is disabled. Enable error logging by setting the system property -Dcom.amazonaws.xray.validationMode=log or throwing exceptions by setting the system property -Dcom.amazonaws.xray.validationMode=throw.
  • Method Details

    • checkNotNull

      @CheckReturnValue public static boolean checkNotNull(Object obj, String message)
      Returns whether obj is null.