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

co.com.bancolombia.exceptions.ConverseException Maven / Gradle / Ivy

Go to download

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