co.cask.common.http.exception
Class HttpFailureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
co.cask.common.http.exception.HttpFailureException
- All Implemented Interfaces:
- Serializable
public class HttpFailureException
- extends RuntimeException
Runtime exception thrown when execution of HTTP request is considered a failure.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
HttpFailureException
public HttpFailureException(String message,
int statusCode)
HttpFailureException
public HttpFailureException(String message,
Throwable cause,
int statusCode)
HttpFailureException
public HttpFailureException(Throwable cause,
int statusCode)
getStatusCode
public int getStatusCode()
Copyright © 2014 Cask Data, Inc. Licensed under the Apache License, Version 2.0.