public class UpdateServiceException extends IOException
Throwable in order to decorate it with additional meta data
when producing or consuming a HTTP response.| Constructor and Description |
|---|
UpdateServiceException(int status,
Throwable cause)
Constructs an update service exception with the given HTTP
status code and its causing exception.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getStatus()
Returns the HTTP status code.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic UpdateServiceException(int status,
@CheckForNull
Throwable cause)
status - the HTTP status code.cause - the causing exception.Copyright © 2013–2015 Schlichtherle IT Services. All rights reserved.