business.exceptions.RequestNotFound.java Source code

Java tutorial

Introduction

Here is the source code for business.exceptions.RequestNotFound.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.NOT_FOUND, reason = "Request not found.") // 404
public class RequestNotFound extends RuntimeException {
    private static final long serialVersionUID = 607177856129334391L;
}