Package aQute.bnd.http
Class HttpRequestException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- aQute.bnd.http.HttpRequestException
-
- All Implemented Interfaces:
java.io.Serializable
public class HttpRequestException extends java.lang.RuntimeException- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description intresponseCodeprivate static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description HttpRequestException(TaggedData tag)HttpRequestException(TaggedData tag, java.lang.Throwable cause)HttpRequestException(java.net.HttpURLConnection conn)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static java.lang.StringgetMessage(TaggedData tag)private static java.lang.StringgetMessage(java.net.HttpURLConnection conn)
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
responseCode
public final int responseCode
-
-
Constructor Detail
-
HttpRequestException
public HttpRequestException(java.net.HttpURLConnection conn) throws java.io.IOException- Throws:
java.io.IOException
-
HttpRequestException
public HttpRequestException(TaggedData tag)
-
HttpRequestException
public HttpRequestException(TaggedData tag, java.lang.Throwable cause)
-
-
Method Detail
-
getMessage
private static java.lang.String getMessage(TaggedData tag)
-
getMessage
private static java.lang.String getMessage(java.net.HttpURLConnection conn) throws java.io.IOException- Throws:
java.io.IOException
-
-