public class InvalidActionError extends ActionException
SessionManager detects these invalid actions and
throws this error.| Constructor and Description |
|---|
InvalidActionError(NegotiationParty instigator,
java.util.List<java.lang.Class<? extends Action>> allowed,
Action found)
Initializes a new instance of the
InvalidActionError class. |
| Modifier and Type | Method and Description |
|---|---|
NegotiationParty |
getInstigator()
Gets the party that did an invalid action
|
java.lang.String |
toString() |
public InvalidActionError(NegotiationParty instigator, java.util.List<java.lang.Class<? extends Action>> allowed, Action found)
InvalidActionError class.instigator - The party that did an invalid action.allowed - the list of allowed actionsfound - the actual taken actionpublic NegotiationParty getInstigator()
public java.lang.String toString()
toString in class java.lang.Throwable