android-ibc-forum

Unnamed repository; edit this file 'description' to name the repository.
git clone http://git.code.weiherhei.de/android-ibc-forum.git
Log | Files | Refs

XMLRPCException.java (550B)


      1 package org.xmlrpc.android;
      2 
      3 import org.apache.http.HttpStatus;
      4 
      5 public class XMLRPCException extends Exception {
      6 
      7 	/**
      8 	 * 
      9 	 */
     10 	private static final long serialVersionUID = 7499675036625522379L;
     11 
     12 	private int httpStatusCode = HttpStatus.SC_OK;
     13 
     14 	public XMLRPCException(Exception e) {
     15 		super(e);
     16 	}
     17 
     18 	public XMLRPCException(String string) {
     19 		super(string);
     20 	}
     21 
     22 	public XMLRPCException(String string, int httpStatusCode) {
     23 		this(string);
     24 		this.httpStatusCode = httpStatusCode;
     25 	}
     26 
     27 	public int getHttpStatusCode() {
     28 		return httpStatusCode;
     29 	}
     30 }