public class SphereException extends RuntimeException
Modifier and Type | Field and Description |
---|---|
protected HttpResponse |
httpResponse |
Constructor and Description |
---|
SphereException() |
SphereException(String message) |
SphereException(String message,
Throwable cause) |
SphereException(Throwable cause) |
Modifier and Type | Method and Description |
---|---|
void |
addNote(String note) |
List<String> |
getAdditionalNotes() |
HttpResponse |
getHttpResponse() |
String |
getMessage() |
String |
getProjectKey() |
SphereRequest<?> |
getSphereRequest() |
String |
httpSummary() |
void |
setHttpRequest(HttpRequest httpRequest) |
void |
setProjectKey(String projectKey) |
void |
setSphereRequest(SphereRequest<?> sphereRequest) |
void |
setUnderlyingHttpResponse(HttpResponse httpResponse) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
@Nullable protected HttpResponse httpResponse
public SphereException()
public SphereException(String message)
public SphereException(Throwable cause)
@Nullable public final SphereRequest<?> getSphereRequest()
@Nullable public final HttpResponse getHttpResponse()
public void setSphereRequest(@Nullable SphereRequest<?> sphereRequest)
public void setHttpRequest(@Nullable HttpRequest httpRequest)
public void addNote(String note)
public final String getMessage()
getMessage
in class Throwable
public final String httpSummary()
public void setUnderlyingHttpResponse(HttpResponse httpResponse)