de.hunsicker.jalopy
Class VersionMismatchException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--de.hunsicker.jalopy.VersionMismatchException
All Implemented Interfaces:
java.io.Serializable

public final class VersionMismatchException
extends java.lang.Exception

Indicates a version mismatch between the specification versions of the Jalopy Plug-in API and a concrete Plug-in implementation.

Since:
1.0b8
Version:
$Revision: 1.3 $
Author:
Marco Hunsicker
See Also:
Serialized Form

Constructor Summary
VersionMismatchException(Version expected, Version found)
          Creates a new VersionMismatchException object.
 
Method Summary
 Version getExpected()
          Returns the expected version.
 Version getFound()
          Returns the found version.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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

VersionMismatchException

public VersionMismatchException(Version expected,
                                Version found)
Creates a new VersionMismatchException object.

Parameters:
expected - the expected vesion.
found - the found vesion.
Method Detail

getExpected

public Version getExpected()
Returns the expected version.

Returns:
The expected version.

getFound

public Version getFound()
Returns the found version.

Returns:
The found version.


Copyright © 1997-2005 Jalopy. All Rights Reserved.