HostException
public final class HostException extends RuntimeException
| java.lang.Object | ||||
| ↳ | kotlin.Throwable | |||
| ↳ | java.lang.Exception | |||
| ↳ | java.lang.RuntimeException | |||
| ↳ | androidx.car.app.HostException |
Exceptions that happen on calls to the host.
Summary
Public constructors |
|---|
HostException(@NonNull Throwable cause)Creates an instance of |
HostException(@NonNull String message)Creates an instance of |
HostException(@NonNull String message, @NonNull Throwable cause)Creates an instance of |
Inherited methods |
|---|
Public constructors
HostException
Added in 1.0.0
public HostException(@NonNull Throwable cause)
Creates an instance of HostException with the given cause.
HostException
Added in 1.0.0
public HostException(@NonNull String message)
Creates an instance of HostException with the given message.