public static class CastException.ErrorResponseCastException extends CastException
CastException used to deliver an
StandardResponse.ErrorResponse if one is returned from the cast device.CastException.ErrorResponseCastException, CastException.LaunchErrorCastException, CastException.UnprocessedCastException, CastException.UntypedCastException| Modifier and Type | Field and Description |
|---|---|
protected StandardResponse.ErrorResponse |
errorResponse
The
StandardResponse.ErrorResponse to deliver |
| Constructor and Description |
|---|
ErrorResponseCastException(String message,
StandardResponse.ErrorResponse errorResponse)
Creates a new instance with the specified message and
StandardResponse.ErrorResponse. |
| Modifier and Type | Method and Description |
|---|---|
StandardResponse.ErrorResponse |
getErrorResponse() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString@Nonnull protected final StandardResponse.ErrorResponse errorResponse
StandardResponse.ErrorResponse to deliverpublic ErrorResponseCastException(@Nullable String message, @Nonnull StandardResponse.ErrorResponse errorResponse)
StandardResponse.ErrorResponse.message - the message to use.errorResponse - the StandardResponse.ErrorResponse to deliver.@Nonnull public StandardResponse.ErrorResponse getErrorResponse()
StandardResponse.ErrorResponse that caused this
CastException.ErrorResponseCastException.Copyright © 2022. All rights reserved.