Class UncheckedApiPreconditions


  • public class UncheckedApiPreconditions
    extends Object
    • Method Detail

      • checkArgument

        public static void checkArgument​(boolean test)
                                  throws com.google.api.gax.rpc.ApiException
        Throws:
        com.google.api.gax.rpc.ApiException
      • checkArgument

        public static void checkArgument​(boolean test,
                                         String description)
                                  throws com.google.api.gax.rpc.ApiException
        Throws:
        com.google.api.gax.rpc.ApiException
      • checkState

        public static void checkState​(boolean test)
                               throws com.google.api.gax.rpc.ApiException
        Throws:
        com.google.api.gax.rpc.ApiException
      • checkState

        public static void checkState​(boolean test,
                                      String description)
                               throws com.google.api.gax.rpc.ApiException
        Throws:
        com.google.api.gax.rpc.ApiException