Package ghidra.util
Class VersionExceptionHandler
java.lang.Object
ghidra.util.VersionExceptionHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisUpgradeOK(Component parent, DomainFile domainFile, String actionName, VersionException ve) static voidshowVersionError(Component parent, String filename, String contentType, String actionName, boolean readOnly, VersionException ve) Show a version error in response to a contentVersionException.
-
Constructor Details
-
VersionExceptionHandler
public VersionExceptionHandler()
-
-
Method Details
-
isUpgradeOK
public static boolean isUpgradeOK(Component parent, DomainFile domainFile, String actionName, VersionException ve) -
showVersionError
public static void showVersionError(Component parent, String filename, String contentType, String actionName, boolean readOnly, VersionException ve) Show a version error in response to a contentVersionException.- Parameters:
parent- popup message parentfilename- name of filecontentType- file content typeactionName- action name (e.g., "Open")readOnly- true if read-only, else false. Specify false if not a factor to presenting the error.ve- version exception
-