Class UncheckedApiPreconditions
java.lang.Object
com.google.cloud.pubsublite.internal.UncheckedApiPreconditions
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidcheckArgument(boolean test) static voidcheckArgument(boolean test, String description) static voidcheckState(boolean test) static voidcheckState(boolean test, String description)
-
Method Details
-
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
-