public class UnsupportedVersion
extends java.lang.Error
Workflow.getVersion(String, int, int)
detects that the
workflow history was generated by a code that doesn't comply with specified min and max versions.
The reason this class extends Error is for application workflow code to not catch it by mistake. The default behavior of the SDK is to block workflow execution while Error is thrown.
Constructor and Description |
---|
UnsupportedVersion(java.lang.String message) |