You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@eventmesh.apache.org by GitBox <gi...@apache.org> on 2022/10/11 09:21:27 UTC

[GitHub] [incubator-eventmesh] Alonexc opened a new issue, #1514: [Enhancement] There is no need to declare exceptions [RegResponseBody]

Alonexc opened a new issue, #1514:
URL: https://github.com/apache/incubator-eventmesh/issues/1514

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/eventmesh/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Enhancement Request
   
   ![image](https://user-images.githubusercontent.com/91315508/195049907-f9cdd060-1b53-43a1-b3f4-eaabf4505382.png)
   located at: org/apache/eventmesh/common/protocol/http/body/client/RegResponseBody.java line 58
   This method declares that it throws a checked exception that it does not throw. As this method is either a constructor, static method or private method, there is no reason for this method to declare the exception in its throws clause, and just causes calling methods to unnecessarily handle an exception that will never be thrown. The exception in question should be removed from the throws clause.
   
   ### Describe the solution you'd like
   
   It is recommended to remove the content after throws.
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: dev-help@eventmesh.apache.org


[GitHub] [incubator-eventmesh] krittysv commented on issue #1514: [Enhancement] There is no need to declare exceptions [RegResponseBody]

Posted by GitBox <gi...@apache.org>.
krittysv commented on issue #1514:
URL: https://github.com/apache/incubator-eventmesh/issues/1514#issuecomment-1285203145

   Hi @xwm1992 ,
   I would like to contribute to this issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: dev-help@eventmesh.apache.org


[GitHub] [incubator-eventmesh] mroccyen commented on issue #1514: [Enhancement] There is no need to declare exceptions [RegResponseBody]

Posted by GitBox <gi...@apache.org>.
mroccyen commented on issue #1514:
URL: https://github.com/apache/incubator-eventmesh/issues/1514#issuecomment-1274477306

   i will try my best to do it,please assign to me


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: dev-help@eventmesh.apache.org


[GitHub] [incubator-eventmesh] qqeasonchen closed issue #1514: [Enhancement] There is no need to declare exceptions [RegResponseBody]

Posted by GitBox <gi...@apache.org>.
qqeasonchen closed issue #1514: [Enhancement] There is no need to declare exceptions [RegResponseBody]
URL: https://github.com/apache/incubator-eventmesh/issues/1514


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: dev-help@eventmesh.apache.org