All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dps.webapplication.application.providers.exceptions.EntityNotFoundExceptionMapper Maven / Gradle / Ivy

There is a newer version: 1.2.5
Show newest version
package dps.webapplication.application.providers.exceptions;

import dps.webapplication.application.providers.View;

import javax.persistence.EntityNotFoundException;
import javax.ws.rs.NotFoundException;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import javax.ws.rs.ext.ExceptionMapper;
import javax.ws.rs.ext.Provider;
import java.util.logging.Level;

@Provider
public class EntityNotFoundExceptionMapper extends ExceptionMapperBase {

    public EntityNotFoundExceptionMapper() throws NoSuchMethodException {
        super(Response.Status.NOT_FOUND);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy