Class IORuntimeException

  • All Implemented Interfaces:
    java.io.Serializable

    public class IORuntimeException
    extends java.lang.RuntimeException
    If you want to throw an IOException as unchecked exception you can use this exception here.
    Since:
    1.7 (30.12.2016)
    Version:
    $Revision: 1.1 $
    Author:
    oboehm
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      IORuntimeException​(java.lang.String message)
      Instantiates a new IO runtime exception.
      IORuntimeException​(java.lang.String message, java.lang.Throwable cause)
      Instantiates a new IO runtime exception.
      IORuntimeException​(java.lang.String message, java.lang.Throwable cause, boolean enableSuppression, boolean writableStackTrace)
      Instantiates a new IO runtime exception.
      IORuntimeException​(java.lang.Throwable cause)
      Instantiates a new IO runtime exception.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • IORuntimeException

        public IORuntimeException​(java.lang.String message)
        Instantiates a new IO runtime exception.
        Parameters:
        message - the message
      • IORuntimeException

        public IORuntimeException​(java.lang.Throwable cause)
        Instantiates a new IO runtime exception.
        Parameters:
        cause - the cause
      • IORuntimeException

        public IORuntimeException​(java.lang.String message,
                                  java.lang.Throwable cause)
        Instantiates a new IO runtime exception.
        Parameters:
        message - the message
        cause - the cause
      • IORuntimeException

        public IORuntimeException​(java.lang.String message,
                                  java.lang.Throwable cause,
                                  boolean enableSuppression,
                                  boolean writableStackTrace)
        Instantiates a new IO runtime exception.
        Parameters:
        message - the message
        cause - the cause
        enableSuppression - the enable suppression
        writableStackTrace - the writable stack trace