Class IoRuntimeException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
FileNotFoundRuntimeException

public class IoRuntimeException
extends RuntimeException
Author:
Cyrille Le Clerc
See Also:
Serialized Form
  • Constructor Details

    • IoRuntimeException

      public IoRuntimeException()
    • IoRuntimeException

      public IoRuntimeException​(String message)
    • IoRuntimeException

      public IoRuntimeException​(String message, Throwable cause)
    • IoRuntimeException

      protected IoRuntimeException​(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
    • IoRuntimeException

      public IoRuntimeException​(Throwable cause)
  • Method Details

    • propagate

      public static IoRuntimeException propagate​(IOException e)
      This method returns an instance IoRuntimeException. Inspired by com.google.common.base.Throwables#propagate(java.lang.Throwable).
           try {
               ...
           } catch (IOException e) {
               throw IoRuntimeException.propagate(e);
           }
       
      Parameters:
      e -