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

com.shedhack.exception.controller.spring.ExceptionInterceptor Maven / Gradle / Ivy

package com.shedhack.exception.controller.spring;

import com.shedhack.exception.core.ExceptionModel;

/**
 * 
 *     This interface should be implemented if you wish to do something with the handled exception.
 *     The handle method will be called before the exception controller returns the response object
 *     to the client.
 * 
* * @author imamchishty */ public interface ExceptionInterceptor { void handle(ExceptionModel model, Exception exception); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy