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:
java.io.Serializable
public final class IncorrectVersionException extends java.lang.Exception
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IncorrectVersionException(java.lang.String required, java.lang.String current)
Constructor for the IncorrectVersionException object
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
checkRequiredVersion(java.lang.String current, java.lang.String required)
Check if the current version is bigger or equals to the required version.
-
-
-
Method Detail
-
checkRequiredVersion
public static void checkRequiredVersion(java.lang.String current, java.lang.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
-
-