CORDA-3043 RPC Invocation fails when calling classes with defaulted constructors O/S (#5569)

* Fix for defaulted constructor arguments

* Code changes from 4.3 applied to O/S

* Detekt and code review
This commit is contained in:
Nick Dunstone
2019-10-11 11:00:40 +01:00
committed by Rick Parker
parent 7666ca0d80
commit 7a929f177c
3 changed files with 89 additions and 4 deletions

View File

@ -45,7 +45,6 @@ interface FlowLogicRefFactory {
*
* @property type the fully qualified name of the class that failed checks.
*/
@CordaSerializable
class IllegalFlowLogicException(val type: String, msg: String) :
IllegalArgumentException("A FlowLogicRef cannot be constructed for FlowLogic of type $type: $msg") {
constructor(type: Class<*>, msg: String) : this(type.name, msg)