Added in API level 24
UncheckedIOException
open class UncheckedIOException : RuntimeException
Wraps an IOException with an unchecked exception.
Summary
| Public constructors | |
|---|---|
UncheckedIOException(cause: IOException!)Constructs an instance of this class. |
|
UncheckedIOException(message: String!, cause: IOException!)Constructs an instance of this class. |
|
| Properties | |
|---|---|
| open IOException? |
Returns the cause of this exception. |
Public constructors
UncheckedIOException
Added in API level 24
UncheckedIOException(cause: IOException!)
Constructs an instance of this class.
| Parameters | |
|---|---|
cause |
IOException!: the IOException |
| Exceptions | |
|---|---|
java.lang.NullPointerException |
if the cause is null |
UncheckedIOException
Added in API level 24
UncheckedIOException(
message: String!,
cause: IOException!)
Constructs an instance of this class.
| Parameters | |
|---|---|
message |
String!: the detail message, can be null |
cause |
IOException!: the IOException |
| Exceptions | |
|---|---|
java.lang.NullPointerException |
if the cause is null |
