Class IOExceptionSupport


  • public abstract class IOExceptionSupport
    extends java.lang.Object
    Used to make throwing IOException instances easier.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.io.IOException create​(java.lang.Throwable cause)
      Checks the given cause to determine if it's already an IOException type and if not creates a new IOException to wrap it.
      • Methods inherited from class java.lang.Object

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

      • IOExceptionSupport

        public IOExceptionSupport()
    • Method Detail

      • create

        public static java.io.IOException create​(java.lang.Throwable cause)
        Checks the given cause to determine if it's already an IOException type and if not creates a new IOException to wrap it.
        Parameters:
        cause - The initiating exception that should be cast or wrapped.
        Returns:
        an IOException instance.