[ 
https://issues.apache.org/jira/browse/KAFKA-13948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17551643#comment-17551643
 ] 

Christo Lolov commented on KAFKA-13948:
---------------------------------------

Hello [~villain18], I was indeed working on this. After some consideration we 
have decided to not change how exceptions are thrown. They are being rethrown 
so that they are not wrapped additionally unlike some of the other exceptions. 
I am will be marking this as closed.

> Don't catch and re-throw exception unnecessarily
> ------------------------------------------------
>
>                 Key: KAFKA-13948
>                 URL: https://issues.apache.org/jira/browse/KAFKA-13948
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: Divij Vaidya
>            Assignee: Christo Lolov
>            Priority: Trivial
>              Labels: Newbie, Newcomer, newbie
>
> An exception is caught and re-thrown within the catch clause without any 
> other operations being performed on the exception, making the catch clause 
> unnecessary.
> Code should be changed here: 
> https://github.com/apache/kafka/blob/trunk/streams/src/main/java/org/apache/kafka/streams/processor/internals/ProcessorStateManager.java



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to