[ 
https://issues.apache.org/jira/browse/HDDS-15023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Attila Doroszlai updated HDDS-15023:
------------------------------------
    Fix Version/s: 2.2.0
       Resolution: Implemented
           Status: Resolved  (was: Patch Available)

> 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
>             Fix For: 2.2.0
>
>
> 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]

Reply via email to