Welcome to mirror list, hosted at ThFree Co, Russian Federation.

ServerAppVersionNotParsableException.java « exceptions « deck « nextcloud « niedermann « it « java « main « src « app - github.com/stefan-niedermann/nextcloud-deck.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e2521195be8f376dc9b6197141bbc2c4c1f07bf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package it.niedermann.nextcloud.deck.exceptions;

public class ServerAppVersionNotParsableException extends IllegalArgumentException {

    public enum Hint {
        CAPABILITIES_NOT_PARSABLE,
        CAPABILITIES_VERSION_NOT_PARSABLE,
    }

    private Hint hint;

    public ServerAppVersionNotParsableException(Hint hint, String message) {
        super(message);
        this.hint = hint;
    }

    public Hint getHint() {
        return hint;
    }
}