<div dir="ltr"><div>I&#39;m not familiar with DTML,<br></div><div>I would like to:<br></div><div style><br></div>deleteUser(USERNAME=invalid USERNAME)<br><div><div><br></div><div>Does not throw an exception,</div><div><br>
</div><div>Should be judged through a function return value.</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/2/1 murat bilal <span dir="ltr">&lt;<a href="mailto:murat.bilal@gmail.com" target="_blank">murat.bilal@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Hi all,</div><div> </div><div>I have DTML-Method like below</div><div>&lt;dtml-try&gt;<br>&lt;dtml-call &quot;deleteUser(USERNAME=USERNAME)&quot;&gt;<br>
  <br>   &lt;dtml-except&gt;<br> An error occurred. Entry was &lt;b&gt;NOT&lt;/b&gt; deleted.<br>
&lt;/dtml-try&gt;</div><div> </div><div>deleteUser is Z-SQL method.USERNAME is the argument in Z-SQL method also column name.</div><div>When i click erase button it succesfully deletes record.But if i enter an invalid username it did not throw any exceptions.</div>

<div> </div><div>Please help</div><div> </div><div>REgards</div>
<br>_______________________________________________<br>
Zope-Dev maillist  -  <a href="mailto:Zope-Dev@zope.org">Zope-Dev@zope.org</a><br>
<a href="https://mail.zope.org/mailman/listinfo/zope-dev" target="_blank">https://mail.zope.org/mailman/listinfo/zope-dev</a><br>
**  No cross posts or HTML encoding!  **<br>
(Related lists -<br>
 <a href="https://mail.zope.org/mailman/listinfo/zope-announce" target="_blank">https://mail.zope.org/mailman/listinfo/zope-announce</a><br>
 <a href="https://mail.zope.org/mailman/listinfo/zope" target="_blank">https://mail.zope.org/mailman/listinfo/zope</a> )<br>
<br></blockquote></div><br></div>