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

ru.abyss.acquiring.soap.AcquiringException Maven / Gradle / Ivy

The newest version!
/*
 * Copyright Бездна (c) 2017.
 */
package ru.abyss.acquiring.soap;

import ru.paymentgate.engine.webservices.merchant.AbstractResponse;

/**
 * @author Minu <[email protected]>
 * @since 27.07.2017 15:25:57
 */
public class AcquiringException extends Exception {

	private static final long serialVersionUID = -6660608554471311083L;

	private int errorCode;

	public AcquiringException(AbstractResponse resp) {
		this(resp.getErrorCode(), resp.getErrorMessage());
	}

	public AcquiringException(int errorCode, String msg) {
		super(msg);
		this.errorCode = errorCode;
	}

	public int getErrorCode() {
		return errorCode;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy