/******************************************************************************* * Copyright (c) 2010 Steffen Pingel 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: * Steffen Pingel - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.internal.commons.xmlrpc; import org.apache.commons.httpclient.auth.AuthScheme; import org.apache.xmlrpc.XmlRpcException; /** * @author Steffen Pingel */ public class XmlRpcHttpException extends XmlRpcException { private static final long serialVersionUID = 9032521978140685830L; private AuthScheme authScheme; public XmlRpcHttpException(int responseCode) { super(responseCode, "HTTP Error " + responseCode); //$NON-NLS-1$ } public AuthScheme getAuthScheme() { return authScheme; } public void setAuthScheme(AuthScheme authScheme) { this.authScheme = authScheme; } }