mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-14 11:15:51 +00:00
PaymentChannelCloseException: Show reason in toString()
This commit is contained in:
parent
1d7f2eb00b
commit
c5d267f0f9
@ -54,4 +54,8 @@ public class PaymentChannelCloseException extends Exception {
|
|||||||
super(message);
|
super(message);
|
||||||
this.error = error;
|
this.error = error;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String toString() {
|
||||||
|
return "PaymentChannelCloseException for reason " + getCloseReason().toString();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user