From 9d2b7f0b7b57867e9adf74a155cbbd22a549edde Mon Sep 17 00:00:00 2001 From: Tudor Malene Date: Mon, 16 Apr 2018 13:29:36 +0100 Subject: [PATCH] CORDA-1313 RPC whitelist TransactionVerificationException (#2965) --- .../net/corda/nodeapi/exceptions/InternalNodeException.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/node-api/src/main/kotlin/net/corda/nodeapi/exceptions/InternalNodeException.kt b/node-api/src/main/kotlin/net/corda/nodeapi/exceptions/InternalNodeException.kt index 805841ee7c..e0ee6c3c9b 100644 --- a/node-api/src/main/kotlin/net/corda/nodeapi/exceptions/InternalNodeException.kt +++ b/node-api/src/main/kotlin/net/corda/nodeapi/exceptions/InternalNodeException.kt @@ -1,12 +1,14 @@ package net.corda.nodeapi.exceptions import net.corda.core.CordaRuntimeException +import net.corda.core.contracts.TransactionVerificationException import java.io.InvalidClassException // could change to use package name matching but trying to avoid reflection for now private val whitelisted = setOf( InvalidClassException::class, - RpcSerializableError::class + RpcSerializableError::class, + TransactionVerificationException::class ) /**