CORDA-1313 RPC whitelist TransactionVerificationException (#2965)

This commit is contained in:
Tudor Malene 2018-04-16 13:29:36 +01:00 committed by GitHub
parent d8bf1019b6
commit 9d2b7f0b7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
)
/**