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

Flink Jira Bot commented on FLINK-2693:
---------------------------------------

This issue has been labeled "stale-minor" for 7 days. It is closed now. If you 
are still affected by this or would like to raise the priority of this ticket 
please re-open, removing the label "auto-closed" and raise the ticket priority 
accordingly.

> Refactor InvalidTypesException to be checked
> --------------------------------------------
>
>                 Key: FLINK-2693
>                 URL: https://issues.apache.org/jira/browse/FLINK-2693
>             Project: Flink
>          Issue Type: Improvement
>          Components: API / DataSet
>            Reporter: Chesnay Schepler
>            Priority: Minor
>              Labels: stale-minor
>
> When the TypeExtractor fails, it generally throws an InvalidTypesException. 
> This is currently an unchecked exception, although we sometimes recover from 
> it, usually by creating a MissingTypeInfo manually.
> Furthermore, the extractor can also throw IllegalArgumentExceptions in some 
> cases. Figuring out which exception is thrown under which conditions is 
> pretty tricky, causing issues such as FLINK-2557.
> This should be rectified by
> # making InvalidTypesException a checked exception
> # only throwing an InvalidTypesException upon failure



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to