public class OpenShiftEndpointException extends OpenShiftException
| Constructor and Description |
|---|
OpenShiftEndpointException(String url,
Throwable cause,
RestResponse response,
String message,
Object... arguments) |
| Modifier and Type | Method and Description |
|---|---|
RestResponse |
getRestResponse() |
List<Message> |
getRestResponseMessage(IField field)
Returns the message for the given field.
|
Messages |
getRestResponseMessages() |
protected String |
getUrl() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic OpenShiftEndpointException(String url, Throwable cause, RestResponse response, String message, Object... arguments)
public RestResponse getRestResponse() throws OpenShiftException
RestResponse.OpenShiftException - if the unmarshalling failspublic Messages getRestResponseMessages()
RestResponse. If the unmarshalling fails, the returned list is null.public List<Message> getRestResponseMessage(IField field)
null otherwise.field - Message#FIELD_DEFAULT,
Message#FIELD_APPINFO,
Message#FIELD_RESULTprotected String getUrl()
Copyright © 2016 JBoss by Red Hat. All rights reserved.