[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Functions does not catch NULL (ITS#1769)


Ok, ok, got it - it's not a defect/bug.

But my experience is that it is very nice if a lowlevel API provides a 
way to intercept errors, i.e. setup callback functions for catching 
them. That is the reason for exceptions in both Java and C++.


Kurt Zeilenga wrote:

>This is not viewed as a bug.  It is viewed as the application's responsibility
>to ensure the argument is a valid pointer.