[
https://issues.apache.org/jira/browse/HDDS-15023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HDDS-15023:
----------------------------------
Labels: pull-request-available (was: )
> Change S3ErrorTable into enum
> -----------------------------
>
> Key: HDDS-15023
> URL: https://issues.apache.org/jira/browse/HDDS-15023
> Project: Apache Ozone
> Issue Type: Sub-task
> Components: s3gateway
> Reporter: Attila Doroszlai
> Assignee: Attila Doroszlai
> Priority: Major
> Labels: pull-request-available
>
> S3ErrorTable defines errors as instances of OS3Exception, leading to
> potential misuse:
> - Stack trace of these constants reflect class initialization, not the place
> where the actual error is encountered. New instance should be thrown instead
> (e.g. via {{S3ErrorTable#newError}}).
> - Instances are constants, but their properties are mutable.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]