Package ghidra.pcode.emu.unix
Class EmuUnixException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ghidra.pcode.exec.PcodeExecutionException
ghidra.pcode.emu.sys.EmuSystemException
ghidra.pcode.emu.unix.EmuUnixException
- All Implemented Interfaces:
Serializable
An exception for errors within UNIX sytem call libraries
- See Also:
-
Constructor Summary
ConstructorDescriptionEmuUnixException
(String message) EmuUnixException
(String message, Integer errno) EmuUnixException
(String message, Integer errno, Throwable e) Construct a new exception with an optional errnoEmuUnixException
(String message, Throwable e) -
Method Summary
Methods inherited from class ghidra.pcode.exec.PcodeExecutionException
getFrame
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
EmuUnixException
-
EmuUnixException
-
EmuUnixException
-
EmuUnixException
Construct a new exception with an optional errnoProviding 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 messageerrno
- the errno, ornull
e
- the cause of this exception, ornull
-
-
Method Details
-
getErrno
Get the errno associated with this exception- Returns:
- the errno, or
null
-