public static class MpacException.ServerError extends MpacException
MpacException.CannotUpdateNonServerSideEntity, MpacException.ConnectionFailure, MpacException.InvalidResponseError, MpacException.ServerError| Constructor and Description |
|---|
MpacException.ServerError(int status) |
MpacException.ServerError(int status,
Iterable<ErrorDetail> errorDetails) |
MpacException.ServerError(int status,
String message) |
| Modifier and Type | Method and Description |
|---|---|
Iterable<ErrorDetail> |
getErrorDetails()
Error details included in the response, if any.
|
int |
getStatus()
The HTTP status code from the response.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic MpacException.ServerError(int status)
public MpacException.ServerError(int status,
String message)
public MpacException.ServerError(int status,
Iterable<ErrorDetail> errorDetails)
public int getStatus()
public Iterable<ErrorDetail> getErrorDetails()
Copyright © 2016 Atlassian. All rights reserved.