mirror of
https://github.com/corda/corda.git
synced 2024-12-18 20:47:57 +00:00
CORDA-1313 RPC whitelist TransactionVerificationException (#2965)
This commit is contained in:
parent
d8bf1019b6
commit
9d2b7f0b7b
@ -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
|
||||
)
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user