Package org.apache.geode.cache
Class VersionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.geode.GemFireCheckedException
org.apache.geode.cache.VersionException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
IncompatibleVersionException,UnsupportedVersionException
An
VersionException is an exception that indicates a client / server version
mismatch exception has occurred.- Since:
- GemFire 5.7
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newVersionException.Constructs a newVersionExceptionwith a message string.VersionException(String s, Throwable cause) Constructs aVersionExceptionwith a message string and a base exceptionVersionException(Throwable cause) Constructs aVersionExceptionwith a cause -
Method Summary
Methods inherited from class org.apache.geode.GemFireCheckedException
getRootCauseMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
VersionException
public VersionException()Constructs a newVersionException. -
VersionException
Constructs a newVersionExceptionwith a message string.- Parameters:
s- the detail message
-
VersionException
Constructs aVersionExceptionwith a message string and a base exception- Parameters:
s- the detail messagecause- the cause
-
VersionException
Constructs aVersionExceptionwith a cause- Parameters:
cause- the cause
-