com.ibm.ctg.util
Class DLLVersionMismatchException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.ibm.ctg.util.DLLVersionMismatchException
-
- All Implemented Interfaces:
- java.io.Serializable
public class DLLVersionMismatchException extends java.lang.ExceptionThis exception is thrown when an application attempts to load a native library at a different version to the Gateway classes. This exception can be thrown in the Gateway daemon or in client applications.
-
-
Constructor Summary
Constructors Constructor and Description DLLVersionMismatchException(java.lang.String gwVer, java.lang.String dllVer)Creates a new exception with the specified Gateway classes version and the specified native library version.
-
Method Summary
Methods Modifier and Type Method and Description java.lang.StringgetDllVer()Returns the version of the native library that caused the exception to be thrown.java.lang.StringgetGwVer()Returns the version of the Gateway classes.
-
-
-
Constructor Detail
-
DLLVersionMismatchException
public DLLVersionMismatchException(java.lang.String gwVer, java.lang.String dllVer)Creates a new exception with the specified Gateway classes version and the specified native library version.- Parameters:
gwVer- The version of the Gateway classesdllVer- The version of the native library
-
-
Method Detail
-
getDllVer
public java.lang.String getDllVer()
Returns the version of the native library that caused the exception to be thrown.- Returns:
- The version of the native library
-
getGwVer
public java.lang.String getGwVer()
Returns the version of the Gateway classes.- Returns:
- The version of the Gateway classes
-
-