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

com.github.dgrandemange.idempotencereceiver.api.exception.UnmarshallException Maven / Gradle / Ivy

package com.github.dgrandemange.idempotencereceiver.api.exception;

import com.github.dgrandemange.idempotencereceiver.api.model.IdempotentMethodResult;

public class UnmarshallException extends IdempotentReceiverException {

	private static final long serialVersionUID = 1L;

	private final IdempotentMethodResult imr;	

	public UnmarshallException(IdempotentMethodResult imr, String message) {
		super(message);
		this.imr = imr;
	}

	public UnmarshallException(IdempotentMethodResult imr, Exception e) {
		super(e.getMessage(), e);
		this.imr = imr;
	}
	
	public IdempotentMethodResult getImr() {
		return imr;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy