mirror of
https://github.com/corda/corda.git
synced 2025-06-24 02:04:12 +00:00
Merge remote-tracking branch 'remotes/open/master' into parkri-os-merge-20180713-1
This commit is contained in:
@ -14,6 +14,8 @@ dependencies {
|
||||
|
||||
compile "org.ow2.asm:asm:$asm_version"
|
||||
|
||||
compile "com.google.guava:guava:$guava_version"
|
||||
|
||||
// For AMQP serialisation.
|
||||
compile "org.apache.qpid:proton-j:$protonj_version"
|
||||
|
||||
|
@ -534,7 +534,7 @@ private fun Throwable.setMessage(newMsg: String) {
|
||||
|
||||
fun ClassWhitelist.requireWhitelisted(type: Type) {
|
||||
if (!this.isWhitelisted(type.asClass()!!)) {
|
||||
throw NotSerializableException("Class $type is not on the whitelist or annotated with @CordaSerializable.")
|
||||
throw NotSerializableException("Class \"$type\" is not on the whitelist or annotated with @CordaSerializable.")
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user