Class RmicUncheckedIOException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.glassfish.rmic.tools.java.RmicUncheckedIOException
All Implemented Interfaces:
Serializable

public class RmicUncheckedIOException extends RuntimeException
Wraps an IOException with an unchecked exception. Copied from the JDK's UncheckedIOException, as it was only added in JDK 8. Once the orb switches to JDK8 as a minimum, this can be replaced with the JDK class.
See Also:
  • Constructor Details

    • RmicUncheckedIOException

      public RmicUncheckedIOException(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
    • RmicUncheckedIOException

      public RmicUncheckedIOException(IOException cause)
      Constructs an instance of this class.
      Parameters:
      cause - the IOException
      Throws:
      NullPointerException - if the cause is null
  • Method Details

    • getCause

      public IOException getCause()
      Returns the cause of this exception.
      Overrides:
      getCause in class Throwable
      Returns:
      the IOException which is the cause of this exception.