Package com.l2fprod.gui.plaf.skin
Class IncorrectVersionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.l2fprod.gui.plaf.skin.IncorrectVersionException
- All Implemented Interfaces:
Serializable
Thrown when a Theme Pack requires a SkinLF version greater than the current.
- Version:
- $Revision: 1.4 $, $Date: 2005/11/19 09:25:05 $
- Author:
- $Author: l2fprod $
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionIncorrectVersionException
(String required, String current) Constructor for the IncorrectVersionException object -
Method Summary
Modifier and TypeMethodDescriptionstatic void
checkRequiredVersion
(String current, String required) Check if the current version is bigger or equals to the required version.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
IncorrectVersionException
Constructor for the IncorrectVersionException object- Parameters:
required
- Description of Parametercurrent
- Description of Parameter
-
-
Method Details
-
checkRequiredVersion
public static void checkRequiredVersion(String current, String required) throws IncorrectVersionException Check if the current version is bigger or equals to the required version. If this is not the case anIncorrectVersionException
is thrown.- Parameters:
current
- Description of Parameterrequired
- Description of Parameter- Throws:
IncorrectVersionException
- if the current version does not fit
-