Package org.jivesoftware.util
Class HTTPConnectionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.jivesoftware.util.HTTPConnectionException
-
- All Implemented Interfaces:
Serializable
public class HTTPConnectionException extends Exception
Exception class that wraps an HTTP error code.- Author:
- Gaston Dombiak
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HTTPConnectionException(int errorCode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getErrorCode()
String
getMessage()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
getErrorCode
public int getErrorCode()
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
-
-