mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-22 20:12:07 +01:00
Improve message of StreamErrorException
This commit is contained in:
parent
75ec271c6c
commit
caa7b9acb8
1 changed files with 3 additions and 1 deletions
|
@ -152,7 +152,9 @@ public abstract class XMPPException extends Exception {
|
|||
* @param streamError the root cause of the exception.
|
||||
*/
|
||||
public StreamErrorException(StreamError streamError) {
|
||||
super(streamError.toString());
|
||||
super(streamError.getCondition().toString()
|
||||
+ " You can read more about the meaning of this stream error at http://xmpp.org/rfcs/rfc6120.html#streams-error-conditions\n"
|
||||
+ streamError.toString());
|
||||
this.streamError = streamError;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue