business.exceptions.ExcerptListUploadError.java Source code

Java tutorial

Introduction

Here is the source code for business.exceptions.ExcerptListUploadError.java

Source

/**
 * Copyright (C) 2016  Stichting PALGA
 * This file is distributed under the GNU Affero General Public License
 * (see accompanying file <a href="{@docRoot}/LICENSE">LICENSE</a>).
 */
package business.exceptions;

import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

@ResponseStatus(value = HttpStatus.BAD_REQUEST, reason = "Excerpt list upload error.")
public class ExcerptListUploadError extends RuntimeException {

    public ExcerptListUploadError() {
        super("Excerpt list upload error.");
    }

    public ExcerptListUploadError(String message) {
        super(message);
    }

}