Class IOExceptionWithErrorCode

  • All Implemented Interfaces:
    java.io.Serializable

    public class IOExceptionWithErrorCode
    extends java.io.IOException
    This class is used to bundle a filesystem error code with a standard IOException.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getErrorCode()
      Accessor for filesystem error code
      • 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

      • IOExceptionWithErrorCode

        public IOExceptionWithErrorCode​(int errorCode)
        default constructor
        Parameters:
        errorCode - Filesystem error code
      • IOExceptionWithErrorCode

        public IOExceptionWithErrorCode​(java.lang.String s,
                                        int errorCode)
        Constructor
        Parameters:
        s - message
        errorCode - Filesystem error code
      • IOExceptionWithErrorCode

        public IOExceptionWithErrorCode​(java.lang.Throwable t,
                                        int errorCode)
        Constructor taking another exception.
        Parameters:
        t - Exception to grab data from.
        errorCode - Filesystem error code
      • IOExceptionWithErrorCode

        public IOExceptionWithErrorCode​(java.lang.String s,
                                        java.lang.Throwable t,
                                        int errorCode)
        Constructor taking a message and another exception.
        Parameters:
        s - message
        t - Exception to grab data from.
        errorCode - Filesystem error code
    • Method Detail

      • getErrorCode

        public int getErrorCode()
        Accessor for filesystem error code
        Returns:
        Filesystem error code