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

com.sun.xml.ws.fault.ServerSOAPFaultException Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (c) 2012, 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.ws.fault;

import jakarta.xml.soap.SOAPFault;
import jakarta.xml.ws.soap.SOAPFaultException;

/**
 * Represents the SOAPFaultException that has occurred on the server side.
 *
 * 

* When an exception occurs on the server, JAX-WS RI sends the SOAPFaultException * to the client. On the client side, instances of this class are used to represent * SOAPFaultException that adds diagnostic information to error message for easily * identifying the cause of exception. * * @author chinmay.patel * */ public class ServerSOAPFaultException extends SOAPFaultException { private static final long serialVersionUID = -6700520853613189089L; public ServerSOAPFaultException(SOAPFault soapFault) { super(soapFault); } @Override public String getMessage() { return "Client received SOAP Fault from server: " + super.getMessage() + " Please see the server log to find more detail regarding exact cause of the failure."; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy