no.difi.sdp.client2.domain.exceptions.SoapFaultException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sikker-digital-post-klient-java Show documentation
Show all versions of sikker-digital-post-klient-java Show documentation
Klient for sending av sikker digital post fra offentlige virksomheter.
package no.difi.sdp.client2.domain.exceptions;
import no.digipost.api.exceptions.MessageSenderSoapFaultException;
import static no.difi.sdp.client2.domain.exceptions.SendException.AntattSkyldig.fraSoapFaultCode;
public class SoapFaultException extends SendException {
public SoapFaultException(MessageSenderSoapFaultException e) {
super(e.getSoapFault().getFaultStringOrReason(), fraSoapFaultCode(e.getSoapFault().getFaultCode()), e);
}
}