org.jboss.aerogear.android.http
Class HttpException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jboss.aerogear.android.http.HttpException
- All Implemented Interfaces:
- Serializable
public class HttpException
- extends RuntimeException
If an HTTP Request does not return status code 200 then this will
be thrown.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
HttpException
public HttpException(byte[] data,
int statusCode)
HttpException
public HttpException(byte[] data,
int statusCode,
String message)
getData
public byte[] getData()
getStatusCode
public int getStatusCode()
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.