mirror of
https://github.com/corda/corda.git
synced 2025-06-16 22:28:15 +00:00
CORDA-1313 RPC whitelist TransactionVerificationException (#2965)
This commit is contained in:
@ -1,12 +1,14 @@
|
|||||||
package net.corda.nodeapi.exceptions
|
package net.corda.nodeapi.exceptions
|
||||||
|
|
||||||
import net.corda.core.CordaRuntimeException
|
import net.corda.core.CordaRuntimeException
|
||||||
|
import net.corda.core.contracts.TransactionVerificationException
|
||||||
import java.io.InvalidClassException
|
import java.io.InvalidClassException
|
||||||
|
|
||||||
// could change to use package name matching but trying to avoid reflection for now
|
// could change to use package name matching but trying to avoid reflection for now
|
||||||
private val whitelisted = setOf(
|
private val whitelisted = setOf(
|
||||||
InvalidClassException::class,
|
InvalidClassException::class,
|
||||||
RpcSerializableError::class
|
RpcSerializableError::class,
|
||||||
|
TransactionVerificationException::class
|
||||||
)
|
)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user