mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-10 17:49:38 +02:00
Improve NoResponseException messages
This commit is contained in:
parent
2079ba6bd6
commit
9a00e09c0a
6 changed files with 37 additions and 21 deletions
|
@ -114,7 +114,7 @@ public abstract class StreamNegotiator {
|
|||
}
|
||||
|
||||
if (streamMethodInitiation == null) {
|
||||
throw NoResponseException.newWith(connection);
|
||||
throw NoResponseException.newWith(connection, "stream initiation");
|
||||
}
|
||||
XMPPErrorException.ifHasErrorThenThrow(streamMethodInitiation);
|
||||
return streamMethodInitiation;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue