Package ghidra.framework
Class OSFileNotFoundException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- java.io.FileNotFoundException
-
- ghidra.framework.OSFileNotFoundException
-
- All Implemented Interfaces:
java.io.Serializable
public class OSFileNotFoundException extends java.io.FileNotFoundException
Signals that an attempt to find a Ghidra "OS-file" (native binary) has failed.This exception provides a consistent way to display information about the missing OS-file that will aid in error reporting and debugging.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OSFileNotFoundException(Platform platform, java.lang.String fileName)
Creates a newOSFileNotFoundException
with an unknown moduleOSFileNotFoundException(Platform platform, java.lang.String moduleName, java.lang.String fileName)
Creates a newOSFileNotFoundException
OSFileNotFoundException(java.lang.String fileName)
Creates a newOSFileNotFoundException
for the currentPlatform
with an unknown moduleOSFileNotFoundException(java.lang.String moduleName, java.lang.String fileName)
Creates a newOSFileNotFoundException
for the currentPlatform
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Platform
getPlatform()
Gets thePlatform
associated with this exception
-
-
-
Constructor Detail
-
OSFileNotFoundException
public OSFileNotFoundException(Platform platform, java.lang.String moduleName, java.lang.String fileName)
Creates a newOSFileNotFoundException
- Parameters:
platform
- ThePlatform
associated with this exceptionmoduleName
- The module name associated with this exceptionfileName
- The file name associated with this exception, from the given module
-
OSFileNotFoundException
public OSFileNotFoundException(Platform platform, java.lang.String fileName)
Creates a newOSFileNotFoundException
with an unknown module- Parameters:
platform
- ThePlatform
associated with this exceptionfileName
- The file name associated with this exception, from an unknown module
-
OSFileNotFoundException
public OSFileNotFoundException(java.lang.String moduleName, java.lang.String fileName)
Creates a newOSFileNotFoundException
for the currentPlatform
- Parameters:
moduleName
- The module name associated with this exceptionfileName
- The file name associated with this exception, from the given module
-
OSFileNotFoundException
public OSFileNotFoundException(java.lang.String fileName)
Creates a newOSFileNotFoundException
for the currentPlatform
with an unknown module- Parameters:
fileName
- The file name associated with this exception, from an unknown module
-
-