mirror of
https://github.com/corda/corda.git
synced 2024-12-21 22:07:55 +00:00
SPELLING ERROR FIX
This commit is contained in:
parent
d84105b60e
commit
6d485a3329
@ -85,7 +85,7 @@ private fun <T : Any> propertiesForSerializationFromConstructor(kotlinConstructo
|
|||||||
val matchingProperty = properties[name] ?:
|
val matchingProperty = properties[name] ?:
|
||||||
try {
|
try {
|
||||||
clazz.getDeclaredField(param.name)
|
clazz.getDeclaredField(param.name)
|
||||||
throw NotSerializableException("Property '$name' or it's getter is non public, this renders class '$clazz' unserializable")
|
throw NotSerializableException("Property '$name' or its getter is non public, this renders class '$clazz' unserializable")
|
||||||
} catch (e: NoSuchFieldException) {
|
} catch (e: NoSuchFieldException) {
|
||||||
throw NotSerializableException("No property matching constructor parameter named '$name' of '$clazz'. " +
|
throw NotSerializableException("No property matching constructor parameter named '$name' of '$clazz'. " +
|
||||||
"If using Java, check that you have the -parameters option specified in the Java compiler. " +
|
"If using Java, check that you have the -parameters option specified in the Java compiler. " +
|
||||||
|
Loading…
Reference in New Issue
Block a user