mirror of
https://github.com/corda/corda.git
synced 2025-04-09 04:15:35 +00:00
Port the improved error message introduced in ENT-3068 to OS
This commit is contained in:
parent
b434d49111
commit
b52fdf0e0f
@ -109,8 +109,9 @@ class DefaultEvolutionSerializerFactory(
|
||||
newProperties.forEach { propertyName ->
|
||||
if (localProperties[propertyName]!!.mustBeProvided) throw EvolutionSerializationException(
|
||||
this,
|
||||
"Mandatory property $propertyName of local type is not present in remote type - " +
|
||||
"did someone remove a property from the schema without considering old clients?")
|
||||
"Mandatory property $propertyName of local type is not present in remote type. " +
|
||||
"This implies the type has not evolved in a backwards compatible way. " +
|
||||
"Consider making $propertyName nullable in the newer version of this type.")
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user