UncheckedIOException - JRE Emulation | JRE Emulation
public class

UncheckedIOException

extends RuntimeException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ java.io.UncheckedIOException

Class Overview

Wraps an IOException with an unchecked exception.

Summary

Public Constructors
UncheckedIOException(String message, IOException cause)
Constructs an instance of this class.
UncheckedIOException(IOException cause)
Constructs an instance of this class.
Public Methods
IOException getCause()
Returns the cause of this exception.
Inherited Methods
[Expand]
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public UncheckedIOException (String message, IOException cause)

Constructs an instance of this class.

Parameters
message the detail message, can be null
cause the IOException
Throws
NullPointerException if the cause is null

public UncheckedIOException (IOException cause)

Constructs an instance of this class.

Parameters
cause the IOException
Throws
NullPointerException if the cause is null

Public Methods

public IOException getCause ()

Returns the cause of this exception.

Returns
  • the IOException which is the cause of this exception.