mirror of
https://github.com/corda/corda.git
synced 2024-12-28 16:58:55 +00:00
Merge remote-tracking branch 'open/master' into merge/tudor_16_04_18
This commit is contained in:
commit
47cc2f0bb1
@ -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
|
||||||
)
|
)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user