Example usage for org.springframework.web.servlet.mvc.method.annotation ResponseEntityExceptionHandler subclass-usage

List of usage examples for org.springframework.web.servlet.mvc.method.annotation ResponseEntityExceptionHandler subclass-usage

Introduction

In this page you can find the example usage for org.springframework.web.servlet.mvc.method.annotation ResponseEntityExceptionHandler subclass-usage.

Usage

From source file com.garyclayburg.persistence.repository.CustomResponseEntityExceptionHandler.java

/**
 * Created by IntelliJ IDEA.
 * Date: 4/21/16
 * Time: 2:48 PM
 * https://www.jayway.com/2013/02/03/improve-your-spring-rest-api-part-iii/
 *

From source file io.kahu.hawaii.util.spring.HawaiiControllerExceptionHandler.java

@ControllerAdvice
public class HawaiiControllerExceptionHandler extends ResponseEntityExceptionHandler {
    private static final String X_HAWAII_TRANSACTION_ID_HEADER = "X-Hawaii-Tx-Id";
    private final LogManager logManager;
    private final List<Class<?>> exceptionsToIgnore = new ArrayList<>();

From source file org.osiam.resources.exceptions.OsiamExceptionHandler.java

@ControllerAdvice
public class OsiamExceptionHandler extends ResponseEntityExceptionHandler {
    private static final Logger LOGGER = Logger.getLogger(OsiamExceptionHandler.class.getName());

    /**
     * Contains all known ErrorMessageTransformer to validate and manipulate error messages

From source file org.osiam.resource_server.resources.exceptions.OsiamExceptionHandler.java

@ControllerAdvice
public class OsiamExceptionHandler extends ResponseEntityExceptionHandler {
    private static final Logger LOGGER = Logger.getLogger(OsiamExceptionHandler.class.getName());

    /**
     * Contains all known ErrorMessageTransformer to validate and manipulate error messages

From source file it.infn.mw.iam.api.scim.controller.ScimExceptionHandler.java

@ControllerAdvice
public class ScimExceptionHandler extends ResponseEntityExceptionHandler {

    public static final Logger LOG = LoggerFactory.getLogger(ScimExceptionHandler.class);

    @ResponseStatus(code = HttpStatus.NOT_IMPLEMENTED)

From source file org.opentestsystem.ap.ivs.rest.ExceptionAdvice.java

/**
 * This class is responsible for intercepting exceptions and returning HTTP responses.
 * <p>
 * See http://www.baeldung.com/global-error-handler-in-a-spring-rest-api
 * </p>
 */

From source file org.osiam.resources.exception.OsiamExceptionHandler.java

@ControllerAdvice
public class OsiamExceptionHandler extends ResponseEntityExceptionHandler {

    private static final Logger LOGGER = LoggerFactory.getLogger(OsiamExceptionHandler.class);

    @ExceptionHandler(Exception.class)

From source file fi.helsinki.opintoni.exception.GlobalExceptionHandlers.java

@ControllerAdvice
public class GlobalExceptionHandlers extends ResponseEntityExceptionHandler {

    private final static Logger LOGGER = LoggerFactory.getLogger(GlobalExceptionHandlers.class);

    @ExceptionHandler(value = NotFoundException.class)

From source file it.reply.orchestrator.exception.GlobalControllerExceptionHandler.java

/**
 * Provide a centralized exception handling
 * 
 * @author m.bassi
 *
 */

From source file com.epam.catgenome.controller.ExceptionHandlerAdvice.java

/**
 * Source:      ExceptionHandlerAdvice.java
 * Created:     10/2/15, 4:16 PM
 * Project:     CATGenome Browser
 * Make:        IntelliJ IDEA 14.1.4, JDK 1.8
 * <p>