class ApplicationProviderBinder extends ProviderBinder {

    @Override
    public <T extends Throwable> ExceptionMapper<T> getExceptionMapper(Class<T> type) {
        ExceptionMapper<T> exceptionMapper = doGetExceptionMapper(type);
        if (exceptionMapper == null) {
            exceptionMapper = getDefaults().getExceptionMapper(type);
        }
        return exceptionMapper;
    }

}