UnexpectedFlowEndException.<init> - corda

corda / net.corda.core.flows / UnexpectedFlowEndException / <init>

# <init>

`UnexpectedFlowEndException(message: String, cause: Throwable?)`
`UnexpectedFlowEndException(message: String)` `UnexpectedFlowEndException(message: String, cause: Throwable?, originalErrorId: Long?)`

Thrown when a flow session ends unexpectedly due to a type mismatch (the other side sent an object of a type that we were not expecting), or the other side had an internal error, or the other side terminated when we were waiting for a response.