Package ghidra.util

Class VersionExceptionHandler

java.lang.Object
ghidra.util.VersionExceptionHandler

public class VersionExceptionHandler extends Object
  • 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 content VersionException.
      Parameters:
      parent - popup message parent
      filename - name of file
      contentType - file content type
      actionName - 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