CICS® Transaction Gateway Base API Programming Reference v8.1.0.2

com.ibm.ctg.util
Class DLLVersionMismatchException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ibm.ctg.util.DLLVersionMismatchException
All Implemented Interfaces:
java.io.Serializable

public class DLLVersionMismatchException
extends java.lang.Exception

This 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
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
 java.lang.String getDllVer()
          Returns the version of the native library that caused the exception to be thrown.
 java.lang.String getGwVer()
          Returns the version of the Gateway classes.
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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 classes
dllVer - 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

©Copyright IBM Corp. 1994, 2012
Legal