Package com.ultikits.ultitools.utils
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 Summary
FieldsModifier and TypeFieldDescriptionprivate final intprivate static final long -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
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
-