Class IOExceptionWithErrorCode

All Implemented Interfaces:
Serializable

public class IOExceptionWithErrorCode extends IOException
This class is used to bundle a filesystem error code with a standard IOException.
See Also:
  • Constructor Details

    • IOExceptionWithErrorCode

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

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

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

      public IOExceptionWithErrorCode(String s, 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 Details

    • getErrorCode

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