PrepareEnvironmentException

public final class PrepareEnvironmentException extends ApiException


Exception thrown when DeviceSecurityPostureClient.prepareEnvironment fails.

Summary

Public constructors

Creates a PrepareEnvironmentException with the given status and response.

Public methods

final @NonNull PrepareEnvironmentResponse

The response of the operation.

@NonNull String

Inherited fields

From com.google.android.gms.common.api.ApiException
final @NonNull Status

This field is deprecated. Deprecated in Java

Public constructors

PrepareEnvironmentException

public PrepareEnvironmentException(
    @NonNull Status status,
    @NonNull PrepareEnvironmentResponse response
)

Creates a PrepareEnvironmentException with the given status and response.

Parameters
@NonNull Status status

the status of the operation.

@NonNull PrepareEnvironmentResponse response

the response of the operation.

Public methods

getResponse

public final @NonNull PrepareEnvironmentResponse getResponse()

The response of the operation.

toString

public @NonNull String toString()