VersionException constructor Null safety
- int givenVersion
Implementation
VersionException(int givenVersion) {
cause = sprintf(
'Unexpected "version", got "%d" expected a positive integer',
[givenVersion]);
this.givenVersion = givenVersion;
}