Class IncorrectVersionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.l2fprod.gui.plaf.skin.IncorrectVersionException
All Implemented Interfaces:
Serializable

public final class IncorrectVersionException extends 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:
  • Constructor Details

    • IncorrectVersionException

      public IncorrectVersionException(String required, String current)
      Constructor for the IncorrectVersionException object
      Parameters:
      required - Description of Parameter
      current - 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 an IncorrectVersionException is thrown.
      Parameters:
      current - Description of Parameter
      required - Description of Parameter
      Throws:
      IncorrectVersionException - if the current version does not fit