aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/src/github/daneren2005/dsub/service/parser/SubsonicRESTException.java
blob: 096597a1425bc62027ebef83d46e8cd9cc4cebb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package github.daneren2005.dsub.service.parser;

/**
 * @author Sindre Mehus
 * @version $Id$
 */
public class SubsonicRESTException extends Exception {

    private final int code;

    public SubsonicRESTException(int code, String message) {
        super(message);
        this.code = code;
    }

    public int getCode() {
        return code;
    }
}