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

com.sun.xml.messaging.saaj.soap.SOAPVersionMismatchException Maven / Gradle / Ivy

Go to download

Open source Reference Implementation of JSR-67: SOAP with Attachments API for Java (SAAJ MR: 1.4)

The newest version!
/*
 * Copyright (c) 1997, 2022 Oracle and/or its affiliates. All rights reserved.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Distribution License v. 1.0, which is available at
 * http://www.eclipse.org/org/documents/edl-v10.php.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

package com.sun.xml.messaging.saaj.soap;

import com.sun.xml.messaging.saaj.SOAPExceptionImpl;

public class SOAPVersionMismatchException extends SOAPExceptionImpl {

    private static final long serialVersionUID = -3681495393703865847L;

    /**
     * Constructs a SOAPExceptionImpl object with no
     * reason or embedded Throwable object.
     */
    public SOAPVersionMismatchException() {
        super();
    }

    /**
     * Constructs a SOAPExceptionImpl object with the given
     * String as the reason for the exception being thrown.
     *
     * @param reason a description of what caused the exception
     */
    public SOAPVersionMismatchException(String reason) {
        super(reason);
    }

    /**
     * Constructs a SOAPExceptionImpl object with the given
     * String as the reason for the exception being thrown
     * and the given Throwable object as an embedded
     * exception.
     *
     * @param reason a description of what caused the exception
     * @param cause a Throwable object that is to
     *        be embedded in this SOAPExceptionImpl object
     */
    public SOAPVersionMismatchException(String reason, Throwable cause) {
        super(reason, cause);
    }

    /**
     * Constructs a SOAPExceptionImpl object initialized
     * with the given Throwable object.
     *
     * @param cause a Throwable object that is to
     *        be embedded in this SOAPExceptionImpl object
     */
    public SOAPVersionMismatchException(Throwable cause) {
        super(cause);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy