Class EmuUnixException

All Implemented Interfaces:
Serializable

public class EmuUnixException extends EmuSystemException
An exception for errors within UNIX sytem call libraries
See Also:
  • Constructor Details

    • EmuUnixException

      public EmuUnixException(String message)
    • EmuUnixException

      public EmuUnixException(String message, Throwable e)
    • EmuUnixException

      public EmuUnixException(String message, Integer errno)
    • EmuUnixException

      public EmuUnixException(String message, Integer errno, Throwable e)
      Construct a new exception with an optional errno

      Providing an errno allows the system call dispatcher to automatically communicate errno to the target program. If provided, the exception will not interrupt the emulator, because the target program is expected to handle it. If omitted, the dispatcher simply allows the exception to interrupt the emulator.

      Parameters:
      message - the message
      errno - the errno, or null
      e - the cause of this exception, or null
  • Method Details

    • getErrno

      public Integer getErrno()
      Get the errno associated with this exception
      Returns:
      the errno, or null