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.FileNotFoundExceptionSignals 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 newOSFileNotFoundExceptionwith an unknown moduleOSFileNotFoundException(Platform platform, java.lang.String moduleName, java.lang.String fileName)Creates a newOSFileNotFoundExceptionOSFileNotFoundException(java.lang.String fileName)Creates a newOSFileNotFoundExceptionfor the currentPlatformwith an unknown moduleOSFileNotFoundException(java.lang.String moduleName, java.lang.String fileName)Creates a newOSFileNotFoundExceptionfor the currentPlatform
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PlatformgetPlatform()Gets thePlatformassociated with this exception
-
-
-
Constructor Detail
-
OSFileNotFoundException
public OSFileNotFoundException(Platform platform, java.lang.String moduleName, java.lang.String fileName)
Creates a newOSFileNotFoundException- Parameters:
platform- ThePlatformassociated 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 newOSFileNotFoundExceptionwith an unknown module- Parameters:
platform- ThePlatformassociated 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 newOSFileNotFoundExceptionfor 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 newOSFileNotFoundExceptionfor the currentPlatformwith an unknown module- Parameters:
fileName- The file name associated with this exception, from an unknown module
-
-