
ru.abyss.acquiring.soap.AcquiringException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of abyss-acquiring Show documentation
Show all versions of abyss-acquiring Show documentation
Internet acquiring Web Service client library
/*
* 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