Provide a better error msg when the notary type is misconfigured on the net params

Description

If a notary service is misconfigured and advertised as validating on the network parameters, but is actually run in non-validating mode (or vice versa) an error occurs on the notary:
java.lang.ClassCastException: net.corda.core.transactions.SignedTransaction cannot be cast to net.corda.core.transactions.CoreTransaction at
which doesn't explain the issue. We need to provide a better error message that specifies the root problem.

Assignee

Jonathan Locke

Reporter

Andrius Dagys

Labels

None

Sprint

None

Epic Link

None

Priority

Low

Engineering Teams

Notaries

Fix versions

Affects versions

Ported to...

None

Story Points / Dev Days

None

Build cut

None
Configure