public abstract class VcdErrorException extends RuntimeException
These are specifically errors returned by VCD in response to a request. The class of exceptions
caused while communicating with VCD or other such extraneous errors are NOT represented by this
exception or its sub-classes; those exceptions will be thrown as ClientException
| Modifier | Constructor and Description |
|---|---|
protected |
VcdErrorException(int httpStatusCode,
javax.ws.rs.WebApplicationException cause) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.WebApplicationException |
getCause()
Returns the original
WebApplicationException returned by the framework
|
int |
getHttpStatusCode() |
String |
getMessage() |
String |
toString() |
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTraceprotected VcdErrorException(int httpStatusCode,
javax.ws.rs.WebApplicationException cause)
public final int getHttpStatusCode()
public final javax.ws.rs.WebApplicationException getCause()
WebApplicationException returned by the framework
public String getMessage()
getMessage in class ThrowableCopyright © 2019 VMware. All rights reserved.