Class WrappedIOException

  • All Implemented Interfaces:
    java.io.Serializable

    public class WrappedIOException
    extends java.io.IOException
    A class for IOException. Use this when you have an error, but are being forced by an existing API to return an IOException.
    Since:
    2.2
    Author:
    Craig Macdonald
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      WrappedIOException​(java.lang.String message)
      Make a WrappedIOException with the specified message
      WrappedIOException​(java.lang.String message, java.lang.Throwable e)
      Make a WrappedIOException with the specified message and cause
      WrappedIOException​(java.lang.Throwable e)
      Make a WrappedIOException with the specified cause
    • 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

      • WrappedIOException

        public WrappedIOException​(java.lang.String message)
        Make a WrappedIOException with the specified message
      • WrappedIOException

        public WrappedIOException​(java.lang.Throwable e)
        Make a WrappedIOException with the specified cause
      • WrappedIOException

        public WrappedIOException​(java.lang.String message,
                                  java.lang.Throwable e)
        Make a WrappedIOException with the specified message and cause