Hi !

Im writing my programs with PSP. Is there a way to report a error and kill the 
app like the PHP die() function does ?

Suppose i have this code :

import MySQLdb

If i dont have this module i will have the error page. I dont want to let him 
have the error page, i want to shoot this message:

"Dear user... Calm there, this is not the end of the world. The module MySQLdb 
is not installed."

How to do it ? 

PS: Dont take the user word seriously :)
PS2: Dont mind if the solution is in servlet way, it will help me reach the 
real solution.

Thanks for the help

-- 
Douglas Soares de Andrade - UnilesteMG
dsa em unilestemg.br - Linux User: #237615
http://douglasandrade.tk



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to