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