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

com.sap.cloud.sdk.s4hana.connectivity.soap.SoapException Maven / Gradle / Ivy

There is a newer version: 2.28.0
Show newest version
/*
 * Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved.
 */

package com.sap.cloud.sdk.s4hana.connectivity.soap;

import javax.annotation.Nonnull;

import lombok.NoArgsConstructor;

/**
 * Thrown in case of error situations related to the invocation of SOAP services in an ERP system.
 */
@NoArgsConstructor
public class SoapException extends Exception
{
    private static final long serialVersionUID = 8062056192440637260L;

    /**
     * Creates an instance of SoapException which indicates an error situation related to invocation of an SOAP Service
     * in SAP S/4HANA.
     * 
     * @param cause
     *            Throwable causing the SoapException
     */
    public SoapException( @Nonnull final Throwable cause )
    {
        super(cause);
    }

    /**
     * Creates an instance of SoapException which indicates an error situation related to invocation of an SOAP Service
     * in SAP S/4HANA.
     * 
     * @param message
     *            Message describing the cause of this exception
     */
    public SoapException( @Nonnull final String message )
    {
        super(message);
    }

    /**
     * Creates an instance of SoapException which indicates an error situation related to invocation of an SOAP Service
     * in SAP S/4HANA.
     * 
     * @param message
     *            Message describing the cause of this exception
     * @param cause
     *            Throwable causing the SoapException
     */
    public SoapException( @Nonnull final String message, @Nonnull final Throwable cause )
    {
        super(message, cause);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy