com.payu.common.client.exception.IntermoduleException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ms-common-client Show documentation
Show all versions of ms-common-client Show documentation
Librairie commune pour les modules MS Clients
package com.payu.common.client.exception;
import com.payu.common.client.error.ApiClientError;
import com.payu.common.client.handler.IntermoduleRestTemplateResponseErrorHandler;
/**
* Exception levée par un module Payu au niveau client remontée par un Handler Restemplate @{@link
* IntermoduleRestTemplateResponseErrorHandler}
*/
public class IntermoduleException extends AbstractPayuException {
private final ApiClientError apiClientError;
public IntermoduleException(String message, ApiClientError apiClientError) {
super(message, apiClientError.getCode());
this.apiClientError = apiClientError;
}
public IntermoduleException(String message, ApiClientError apiClientError, Throwable cause) {
super(message, cause, apiClientError.getCode());
this.apiClientError = apiClientError;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy