Class 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.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • IncorrectVersionException

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