All Downloads are FREE. Search and download functionalities are using the official Maven repository.

uno.cod.battle.client.exceptions.BehaviourException Maven / Gradle / Ivy

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