public class IncompatibleServerException extends ServerConnectionException
A message string is always created for this exception.
Constructor and Description |
---|
IncompatibleServerException(java.lang.String message,
int major,
int minor,
int patch)
Creates an IncompatibleServerException with a message.
|
Modifier and Type | Method and Description |
---|---|
int |
getServerMajorVersion()
Returns the major version returned by the server being connected to.
|
int |
getServerMinorVersion()
Returns the minor version returned by the server being connected to.
|
int |
getServerPatchVersion()
Returns the patch version returned by the server being connected to.
|
public IncompatibleServerException(java.lang.String message, int major, int minor, int patch)
message
- the messagepublic int getServerMajorVersion()
public int getServerMinorVersion()
public int getServerPatchVersion()
(C) Copyright IBM Corp. 1994, 2015. All Rights Reserved.