001package systems.dmx.files;
002
003import javax.ws.rs.core.Response.Status;
004
005
006
007class FileRepositoryException extends Exception {
008
009    Status status;
010
011    FileRepositoryException(String message, Status status) {
012        super(message);
013        this.status = status;
014    }
015
016    Status getStatus() {
017        return status;
018    }
019
020    int getStatusCode() {
021        return status.getStatusCode();
022    }
023}