Class OciRestException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.helidon.integrations.common.rest.ApiException
-
- io.helidon.integrations.common.rest.ApiRestException
-
- io.helidon.integrations.oci.connect.OciRestException
-
- All Implemented Interfaces:
Serializable
@Deprecated(since="2.5.0", forRemoval=true) public class OciRestException extends ApiRestException
Deprecated, for removal: This API element is subject to removal in a future version.use OCI SDK insteadException used when OCI REST call returned and we have HTTP status and headers, and possibly an entity.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OciRestException.Builder
Deprecated, for removal: This API element is subject to removal in a future version.Fluent API builder forOciRestException
.-
Nested classes/interfaces inherited from class io.helidon.integrations.common.rest.ApiRestException
ApiRestException.BaseBuilder<B extends ApiRestException.BaseBuilder<B>>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static OciRestException.Builder
builder()
Deprecated, for removal: This API element is subject to removal in a future version.Create a new builder for this exception.Optional<String>
ociCode()
Deprecated, for removal: This API element is subject to removal in a future version.OCI error code (if present in response).Optional<String>
ociMessage()
Deprecated, for removal: This API element is subject to removal in a future version.OCI error message (if present in response).-
Methods inherited from class io.helidon.integrations.common.rest.ApiRestException
apiSpecificError, headers, requestId, status
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
builder
public static OciRestException.Builder builder()
Deprecated, for removal: This API element is subject to removal in a future version.Create a new builder for this exception.- Returns:
- a new builder
-
ociCode
public Optional<String> ociCode()
Deprecated, for removal: This API element is subject to removal in a future version.OCI error code (if present in response).- Returns:
- OCI error code
-
-