Skip to main content
summaryrefslogtreecommitdiffstats
blob: 2cac2fd17986634e60c0707aae86c51a82adc497 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/*******************************************************************************
 * Copyright (c) 2007 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 * IBM Corporation - initial API and implementation
 * yyyymmdd bug      Email and other contact information
 * -------- -------- -----------------------------------------------------------
 * 20070413   176493 makandre@ca.ibm.com - Andrew Mak, WSE: Make message/transport stack pluggable
 *******************************************************************************/
package org.eclipse.wst.ws.internal.explorer.transport;

/**
 * An general purpose exception to indicate a problem has occurred when
 * invoking a web service.
 */
public class TransportException extends RuntimeException {

	private static final long serialVersionUID = -1502247230726021403L;

	/**
	 * Constructor.
	 * 
	 * @param message A message about the problem that occurred.
	 */
	public TransportException(String message) {
		super(message);
	}
	
	/**
	 * Constructor that accepts a message and a cause.
	 * 
	 * @param message A message about the problem that occurred.
	 * @param cause The cause for this exception.
	 */
	public TransportException(String message, Throwable cause) {
		super(message, cause);
	}
	
	/**
	 * Constructor that accepts a cause.
	 * 
	 * @param cause The cause for this exception.
	 */
	public TransportException(Throwable cause) {
		super(cause);
	}
}

Back to the top