XmlRpcHttpTransportException.java
Go to the documentation of this file.
00001 package org.apache.xmlrpc.client;
00002 
00003 import org.apache.xmlrpc.XmlRpcException;
00004 
00011 public class XmlRpcHttpTransportException extends XmlRpcException {
00012     private static final long serialVersionUID = -6933992871198450027L;
00013 
00014     private final int status;
00015     private final String statusMessage;
00016     
00023     public XmlRpcHttpTransportException(int pCode, String pMessage) {
00024         this(pCode, pMessage, "HTTP server returned unexpected status: " + pMessage);
00025     }
00026     
00034     public XmlRpcHttpTransportException(int httpStatusCode, String httpStatusMessage, String message) {
00035         super( message );
00036         this.status = httpStatusCode;
00037         this.statusMessage = httpStatusMessage;
00038     }
00039     
00044     public int getStatusCode()
00045     {
00046         return status;
00047     }
00048     
00053     public String getStatusMessage()
00054     {
00055         return statusMessage;
00056     }
00057 }


rosjava_core
Author(s):
autogenerated on Wed Aug 26 2015 16:06:49