Package org.pipecraft.pipes.exceptions
Class HttpPipeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.pipecraft.pipes.exceptions.PipeException
-
- org.pipecraft.pipes.exceptions.IOPipeException
-
- org.pipecraft.pipes.exceptions.HttpPipeException
-
- All Implemented Interfaces:
Serializable
public class HttpPipeException extends IOPipeException
An IO pipe exception indicating an error reported by an HTTP server Includes the HTTP status code.- Author:
- Eyal Schneider
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HttpPipeException(int statusCode)HttpPipeException(int statusCode, Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetStatusCode()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
HttpPipeException
public HttpPipeException(int statusCode)
-
HttpPipeException
public HttpPipeException(int statusCode, Throwable cause)
-
-