<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-2">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2>I want to catch Exception Bad Request,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I have Python Script with parametr 
id_con:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>id_con='con_'+log<BR><A 
href="mailto:str_con=log+'/'+dbpassw+'@ora9cip'">str_con = log+'/'+dbpassw+ 
'@ora9cip'</A><BR>try:<BR>&nbsp;container.manage_addZOracleConnection(id_con,'',str_con,check=1, 
REQUEST=None)<BR>except:<BR>&nbsp;return "ERROR"<BR>else:<BR>&nbsp;return 
id_con<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>in Handling Exception I want to 
catch&nbsp;Exception Bad Request, I get this message always when I try to add 
new connection, that already exist,</FONT></DIV>
<DIV><FONT face=Arial size=2>this code above catch all Exception 
unfortunatelly,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I ask for help,</FONT></DIV>
<DIV><FONT face=Arial size=2>thanks&amp;regards,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT size=2>Adam&nbsp;</FONT></DIV></FONT></BODY></HTML>