public class OpenShiftEndpointException extends OpenShiftException
Constructor and Description |
---|
OpenShiftEndpointException(String url,
Throwable cause,
String 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, toString
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_RESULT
protected String getUrl()
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.