Class LooseValidations


  • public final class LooseValidations
    extends java.lang.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 Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean checkNotNull​(java.lang.Object obj, java.lang.String message)
      Returns whether obj is null.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • checkNotNull

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