Class CheckedApiPreconditions
- java.lang.Object
-
- com.google.cloud.pubsublite.internal.CheckedApiPreconditions
-
public class CheckedApiPreconditions extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
checkArgument(boolean test)
static void
checkArgument(boolean test, String description)
static void
checkArgument(boolean test, String descriptionFormat, Object... args)
static void
checkState(boolean test)
static void
checkState(boolean test, String description)
static void
checkState(boolean test, String descriptionFormat, Object... args)
-
-
-
Method Detail
-
checkArgument
public static void checkArgument(boolean test) throws CheckedApiException
- Throws:
CheckedApiException
-
checkArgument
public static void checkArgument(boolean test, String description) throws CheckedApiException
- Throws:
CheckedApiException
-
checkArgument
public static void checkArgument(boolean test, String descriptionFormat, Object... args) throws CheckedApiException
- Throws:
CheckedApiException
-
checkState
public static void checkState(boolean test) throws CheckedApiException
- Throws:
CheckedApiException
-
checkState
public static void checkState(boolean test, String description) throws CheckedApiException
- Throws:
CheckedApiException
-
checkState
public static void checkState(boolean test, String descriptionFormat, Object... args) throws CheckedApiException
- Throws:
CheckedApiException
-
-