Package org.pac4j.core.exception
Class HttpCommunicationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.pac4j.core.exception.TechnicalException
-
- org.pac4j.core.exception.CommunicationException
-
- org.pac4j.core.exception.HttpCommunicationException
-
- All Implemented Interfaces:
java.io.Serializable
public class HttpCommunicationException extends CommunicationException
This class represents an exception which can happen during HTTP communication (with status code and message body).- Since:
- 1.3.0
- Author:
- Jerome Leleu
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HttpCommunicationException(int code, java.lang.String body)
HttpCommunicationException(java.lang.String message)
HttpCommunicationException(java.lang.Throwable t)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getBody()
int
getCode()
-