[
https://issues.apache.org/jira/browse/HDDS-12939?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsz-wo Sze updated HDDS-12939:
------------------------------
Description:
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.
was:
UnknownPipelineStateException is for converting the following enum classes.
- Pipeline.PipelineState
- HddsProtos.PipelineState
In case, an exception is thrown, it is a software bug need to be fixed. We
should use IllegalArgumentException instead.
> Remove UnknownPipelineStateException
> ------------------------------------
>
> Key: HDDS-12939
> URL: https://issues.apache.org/jira/browse/HDDS-12939
> Project: Apache Ozone
> Issue Type: Bug
> Components: SCM
> Reporter: Tsz-wo Sze
> Assignee: Tsz-wo Sze
> Priority: Major
> Labels: pull-request-available
>
> 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]