source: src/main/java/genius/core/exceptions/NegotiationPartyTimeoutException.java

Last change on this file was 127, checked in by Wouter Pasman, 6 years ago

#41 ROLL BACK of rev.126 . So this version is equal to rev. 125

File size: 989 bytes
Line 
1package genius.core.exceptions;
2
3import genius.core.parties.NegotiationParty;
4
5/**
6 * Exception illustrating that calculating a feature of the bidspace (for
7 * example the Nash point) went wrong.
8 */
9public class NegotiationPartyTimeoutException extends Exception {
10 protected NegotiationParty instigator;
11
12 public NegotiationParty getInstigator() {
13 return instigator;
14 }
15
16 public NegotiationPartyTimeoutException(NegotiationParty instigator) {
17 super();
18 this.instigator = instigator;
19 }
20
21 public NegotiationPartyTimeoutException(NegotiationParty instigator,
22 String message) {
23 super(message);
24 this.instigator = instigator;
25 }
26
27 public NegotiationPartyTimeoutException(NegotiationParty instigator,
28 String message, Throwable cause) {
29 super(message, cause);
30 this.instigator = instigator;
31 }
32
33 public NegotiationPartyTimeoutException(NegotiationParty instigator,
34 Throwable cause) {
35 super(cause);
36 this.instigator = instigator;
37 }
38}
Note: See TracBrowser for help on using the repository browser.