Class CheckedApiPreconditions
java.lang.Object
com.google.cloud.pubsublite.internal.CheckedApiPreconditions
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidcheckArgument(boolean test) static voidcheckArgument(boolean test, String description) static voidcheckArgument(boolean test, String descriptionFormat, Object... args) static voidcheckState(boolean test) static voidcheckState(boolean test, String description) static voidcheckState(boolean test, String descriptionFormat, Object... args)
-
Method Details
-
checkArgument
- Throws:
CheckedApiException
-
checkArgument
- Throws:
CheckedApiException
-
checkArgument
public static void checkArgument(boolean test, String descriptionFormat, Object... args) throws CheckedApiException - Throws:
CheckedApiException
-
checkState
- Throws:
CheckedApiException
-
checkState
- Throws:
CheckedApiException
-
checkState
public static void checkState(boolean test, String descriptionFormat, Object... args) throws CheckedApiException - Throws:
CheckedApiException
-