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

Tsz-wo Sze updated HDDS-12939:
------------------------------
        Parent: HDDS-12946
    Issue Type: Sub-task  (was: Bug)

> Remove UnknownPipelineStateException
> ------------------------------------
>
>                 Key: HDDS-12939
>                 URL: https://issues.apache.org/jira/browse/HDDS-12939
>             Project: Apache Ozone
>          Issue Type: Sub-task
>          Components: SCM
>            Reporter: Tsz-wo Sze
>            Assignee: Tsz-wo Sze
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.1.0
>
>
> UnknownPipelineStateException is for converting the following enum classes.
> - Pipeline.PipelineState 
> - HddsProtos.PipelineState 
> In case that an exception is thrown, it is a software bug needs to be fixed. 
> We should use IllegalArgumentException instead.



--
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