Class UpgradeException

    • Constructor Detail

      • UpgradeException

        public UpgradeException​(String message,
                                Collection<UpgradeError> upgradeErrors)
        Creates a new UpgradeException with given message for a list of upgradeErrors.
        Parameters:
        message - String message
        upgradeErrors - Collection of UpgradeErrors
        Since:
        7.9.0
      • UpgradeException

        public UpgradeException​(Throwable cause)
        Creates a new UpgradeException for given cause.
        Parameters:
        cause - Throwable
        Since:
        7.9.0
      • UpgradeException

        public UpgradeException​(String message,
                                URL kbURL)
        Creates a new UpgradeException for given message and URL for the Modern Johnson UI.
        Parameters:
        message - String
        kbURL - URL
        Since:
        7.9.0
      • UpgradeException

        public UpgradeException​(String message,
                                URL kbURL,
                                boolean fatal)
        Creates a new UpgradeException for given message, URL and cause for the Modern Johnson UI.
        Parameters:
        message - String
        kbURL - URL
        fatal - boolean set to true to make this exception generate a fatal Johnson event
        Since:
        7.9.0
      • UpgradeException

        public UpgradeException​(String message,
                                URL kbURL,
                                Throwable cause)
        Creates a new UpgradeException for given message, URL and cause for the Modern Johnson UI.
        Parameters:
        message - String
        kbURL - URL
        cause - Throwable
        Since:
        7.9.0
      • UpgradeException

        public UpgradeException​(String message,
                                URL kbURL,
                                Throwable cause,
                                boolean fatal)
        Creates a new UpgradeException for given message, URL and cause for the Modern Johnson UI that allows it to be fatal
        Parameters:
        message - String
        kbURL - URL
        cause - Throwable
        fatal - boolean set to true to make this exception generate a fatal Johnson event
        Since:
        7.9.0
    • Method Detail

      • getUpgradeErrorUiMessage

        public String getUpgradeErrorUiMessage()
      • getKbURL

        public URL getKbURL()
      • isFatal

        public boolean isFatal()