corda / net.corda.core.serialization / SerializationContext / lenientCarpenterEnabled

lenientCarpenterEnabled

abstract val lenientCarpenterEnabled: Boolean

If true the carpenter will happily synthesis classes that implement interfaces containing methods that are not getters for any AMQP fields. Invoking these methods will throw an AbstractMethodError. If false then an exception will be thrown during deserialization instead.

The default is false.