Fixed : Message value in NotaryException is always null (#470)

This commit is contained in:
Patrick Kuo 2017-03-30 16:59:23 +01:00 committed by GitHub
parent f15a22d828
commit c7e5cf5079

View File

@ -159,9 +159,7 @@ object NotaryFlow {
*/
data class TransactionParts(val id: SecureHash, val inputs: List<StateRef>, val timestamp: Timestamp?)
class NotaryException(val error: NotaryError) : FlowException() {
override fun toString() = "${super.toString()}: Error response from Notary - $error"
}
class NotaryException(val error: NotaryError) : FlowException("Error response from Notary - $error")
@CordaSerializable
sealed class NotaryError {