Class HttpException
java.lang.Object
java.lang.Throwable
java.lang.Exception
de.digitalcollections.cudami.client.exceptions.HttpException
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
HttpClientException,HttpServerException
public class HttpException
extends java.lang.Exception
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description HttpException(java.lang.String methodKey, int statusCode)HttpException(java.lang.String methodKey, java.lang.Exception ex) -
Method Summary
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, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
HttpException
public HttpException(java.lang.String methodKey, int statusCode) -
HttpException
public HttpException(java.lang.String methodKey, java.lang.Exception ex)
-
-
Method Details
-
getStatusCode
public int getStatusCode()
-