Improve error msg

This commit is contained in:
Manfred Karrer 2016-05-07 13:18:04 +02:00
parent 538751b9da
commit f14facfef1

View File

@ -146,7 +146,9 @@ public class ProcessModel implements Model, Serializable {
public byte[] getArbitratorPubKey(NodeAddress arbitratorNodeAddress) {
Arbitrator acceptedArbitratorByAddress = user.getAcceptedArbitratorByAddress(arbitratorNodeAddress);
checkNotNull(acceptedArbitratorByAddress, "acceptedArbitratorByAddress must not be null. Maybe there is no arbitrator in the network available.");
checkNotNull(acceptedArbitratorByAddress, "acceptedArbitratorByAddress must not be null.\n" +
"Maybe there is no arbitrator in the network available or you did not receive the data from the P2P network.\n" +
"You can try to restart the app to see if that resolved the issue.");
return acceptedArbitratorByAddress.getBtcPubKey();
}