public class UnsupportedInThisVersionException extends MessageSerializationException
| Constructor and Description |
|---|
UnsupportedInThisVersionException(ChannelAccessVersion offendingVersion,
ChannelAccessCommand offendingCommand)
Constructs a new exception with the specified Channel Access version and
command.
|
UnsupportedInThisVersionException(java.lang.String message,
ChannelAccessVersion offendingVersion,
ChannelAccessCommand offendingCommand)
Constructs a new exception with the specified detail message.
|
| Modifier and Type | Method and Description |
|---|---|
ChannelAccessCommand |
getOffendingCommand()
Returns the command of the message that is not supported by the requested
Channel Access version and caused this exception.
|
ChannelAccessVersion |
getOffendingVersion()
Returns the Channel Access version that was requested and caused this
exception.
|
public UnsupportedInThisVersionException(java.lang.String message,
ChannelAccessVersion offendingVersion,
ChannelAccessCommand offendingCommand)
Throwable.initCause(java.lang.Throwable).message - the detail message. The detail message is saved for later
retrieval by the Throwable.getMessage() method.offendingVersion - the Channel Access version that was specified and does not
support the message.offendingCommand - the command of the message that could not be serialized
because it is not supported by offendingVersion.public UnsupportedInThisVersionException(ChannelAccessVersion offendingVersion, ChannelAccessCommand offendingCommand)
Throwable.initCause(java.lang.Throwable).offendingVersion - the Channel Access version that was specified and does not
support the message.offendingCommand - the command of the message that could not be serialized
because it is not supported by offendingVersion.public ChannelAccessVersion getOffendingVersion()
public ChannelAccessCommand getOffendingCommand()
Copyright © 2014–2018 aquenos GmbH. All rights reserved.