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