package de.votian.services.service;

public class LegacyXmlRequestException extends RuntimeException {

    private final String errorCode;
    private final String description;

    public LegacyXmlRequestException(String errorCode, String description) {
        super(description);
        this.errorCode = errorCode;
        this.description = description;
    }

    public String getErrorCode() {
        return errorCode;
    }

    public String getDescription() {
        return description;
    }
}
