co.com.bancolombia.exceptions.ConverseException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of converter-manager-api Show documentation
Show all versions of converter-manager-api Show documentation
Messaging Converter Manager is a library that aims to abstract different implementations for messaging transformation.
The newest version!
package co.com.bancolombia.exceptions;
import co.com.bancolombia.models.ErrorConverse;
import lombok.Getter;
@Getter
public class ConverseException extends Exception {
private final String errorCode;
public ConverseException(Throwable cause,String message) {
super(message,cause);
this.errorCode = message;
}
public ConverseException( ErrorConverse errorMessage) {
super(errorMessage.getReason());
this.errorCode = errorMessage.getCode();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy