mirror of
https://github.com/corda/corda.git
synced 2025-02-21 09:51:57 +00:00
CORDA-2633 Restructure evolution serialization errors to print reason first (#4978)
This commit is contained in:
parent
923d593caf
commit
9963a6609f
@ -22,9 +22,10 @@ interface EvolutionSerializerFactory {
|
||||
class EvolutionSerializationException(remoteTypeInformation: RemoteTypeInformation, reason: String)
|
||||
: NotSerializableException(
|
||||
"""
|
||||
Cannot construct evolution serializer for remote type ${remoteTypeInformation.prettyPrint(false)}
|
||||
Cannot construct evolution serializer for remote type ${remoteTypeInformation.typeIdentifier.name}: $reason
|
||||
|
||||
$reason
|
||||
Full type information:
|
||||
${remoteTypeInformation.prettyPrint(false)}
|
||||
""".trimIndent()
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user