[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[IMP-dev] file not found error



hello -

Say a program needs to read a parameter file.
having IMP_USAGE_CHECK to check that the file is open is not optimal because it will not show up in fast mode.
assuming that i will then just have a simple IF statement, what is the best way to exit the program ?
a exit(1); seems bad especially if the program should be run though a webserver and we want to notify users on the exact problem.

did someone have similar problems?

thanks, keren.