
uno.cod.battle.client.exceptions.BehaviourException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-client Show documentation
Show all versions of java-client Show documentation
The Java client for the Coduno battle
The newest version!
package uno.cod.battle.client.exceptions;
/**
* Created by vbalan on 10/26/2015.
*/
public class BehaviourException extends BattleException {
private final Long remaining;
private final BehaviourCode code;
public BehaviourException(String message, Long remaining, BehaviourCode code) {
super(message);
this.remaining = remaining;
this.code = code;
}
/**
*
* @return the remaining time in milliseconds
*/
public Long getRemaining() {
return remaining;
}
public BehaviourCode getCode() {
return code;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy