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

Vladimir Ozerov commented on IGNITE-2920:
-----------------------------------------

Quick googling shows that this is not very easy question. E.g .logic_error is 
also viable option for a variety of cases. And in Java we use both equivalents 
in different places.

> CPP: IgniteError should be derived from std::runtime_error not from 
> std::exception
> ----------------------------------------------------------------------------------
>
>                 Key: IGNITE-2920
>                 URL: https://issues.apache.org/jira/browse/IGNITE-2920
>             Project: Ignite
>          Issue Type: Task
>          Components: platforms
>    Affects Versions: 1.5.0.final
>            Reporter: Igor Sapego
>            Assignee: Igor Sapego
>             Fix For: 1.6
>
>
> It seems like std::exception is not supposed to be used as a base class by 
> user classes. It is suggested to use std::runtime_error instead.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to