ResponseErrorRuntimeExceptionFactory implementation that knows how to deserialize
error responses using the ResponseHelper.ErrorCodeAndMessage model. When an error
response is received and deserialized, a BmcException is thrown, allowing access to the
error object.
| Modifier and Type | Field and Description |
|---|---|
| public static final ResponseErrorBmcExceptionFactory | INSTANCE
The single stateless ResponseErrorBmcExceptionFactory instance. |
| Access | Constructor and Description |
|---|---|
| private |
| INSTANCE | back to summary |
|---|---|
| public static final ResponseErrorBmcExceptionFactory INSTANCE The single stateless ResponseErrorBmcExceptionFactory instance. | |
| ResponseErrorBmcExceptionFactory | back to summary |
|---|---|
| private ResponseErrorBmcExceptionFactory() | |
| createRuntimeException | back to summary |
|---|---|
| public BmcException createRuntimeException(int statusCode, String opcRequestId, ResponseHelper. Implements com.
| |
| createRuntimeException | back to summary |
|---|---|
| public BmcException createRuntimeException(int statusCode, String serviceCode, String message, String opcRequestId, ServiceDetails serviceDetails) Implements com.
| |
| createRuntimeException | back to summary |
|---|---|
| public BmcException createRuntimeException(int statusCode, String serviceCode, String message, String opcRequestId, Throwable cause, ServiceDetails serviceDetails) Implements com.
| |
| getResponseErrorModelType | back to summary |
|---|---|
| public Class Implements com.
| |
| valueOf | back to summary |
|---|---|
| public static ResponseErrorBmcExceptionFactory valueOf(String name) | |
| values | back to summary |
|---|---|
| public static ResponseErrorBmcExceptionFactory[] values() | |