Class ModuleFileTransactions.NoCompatibleVersionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.ultikits.ultitools.utils.ModuleFileTransactions.NoCompatibleVersionException
All Implemented Interfaces:
Serializable
Enclosing class:
ModuleFileTransactions

public static final class ModuleFileTransactions.NoCompatibleVersionException extends RuntimeException
Thrown by ModuleFileTransactions.Catalogue.latestVersion(java.lang.String) when the catalogue answers that versions of the module exist but none is compatible with this framework's API level (HTTP 409 from the level-filtered latest; plan 18-40), so staging can say so instead of "no download".
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • frameworkLevel

      private final int frameworkLevel
  • Constructor Details

    • NoCompatibleVersionException

      public NoCompatibleVersionException(int frameworkLevel)
      Parameters:
      frameworkLevel - the API level the request carried
  • Method Details

    • getFrameworkLevel

      public int getFrameworkLevel()
      Returns:
      the API level the request carried