<p>I have looked at the exception under the debugger, that's why "E" is in the catch{ Exception E}. The exception thrown is a "lock violation"; not a "Not Supported" exception.</p>
<p>Regards Terry<br>
</p>
<div class="gmail_quote">On Jan 9, 2013 7:10 AM, "Marcel Hellwig" <<a href="mailto:keks@cookiesoft.de">keks@cookiesoft.de</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <div>Hi,<br>
      <br>
      I think your worst mistake you do is on this line<br>
      <br>
      Am 07.01.2013 22:50, schrieb Terry-Watts.com:<br>
    </div>
    <blockquote type="cite">
      
      <code><u></u><span style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-size:13px;font-family:inherit;vertical-align:baseline;color:rgb(102,102,0)"></span><span style="vertical-align:baseline;font-size:13px;font-style:inherit;font-family:inherit;margin:0px;font-weight:inherit;outline:0px;border:0px;padding:0px"> </span><span style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-size:13px;font-family:inherit;vertical-align:baseline;color:rgb(0,0,221)">try</span><span style="vertical-align:baseline;font-size:13px;font-style:inherit;font-family:inherit;margin:0px;font-weight:inherit;outline:0px;border:0px;padding:0px"> </span><span style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-size:13px;font-family:inherit;vertical-align:baseline;color:rgb(102,102,0)">{</span><span style="vertical-align:baseline;font-size:13px;font-style:inherit;font-family:inherit;margin:0px;font-weight:inherit;outline:0px;border:0px;padding:0px"> </span><span style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-size:13px;font-family:inherit;vertical-align:baseline;color:rgb(0,0,221)">base</span><span style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-size:13px;font-family:inherit;vertical-align:baseline;color:rgb(102,102,0)">.</span><span style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-size:13px;font-family:inherit;vertical-align:baseline;color:rgb(102,0,102)">Lock</span><span style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-size:13px;font-family:inherit;vertical-align:baseline;color:rgb(102,102,0)">(</span><span style="vertical-align:baseline;font-size:13px;font-style:inherit;font-family:inherit;margin:0px;font-weight:inherit;outline:0px;border:0px;padding:0px"> </span><span style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-size:13px;font-family:inherit;vertical-align:baseline;color:rgb(0,102,102)">0</span><span style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-size:13px;font-family:inherit;vertical-align:baseline;color:rgb(102,102,0)">,</span><span style="vertical-align:baseline;font-size:13px;font-style:inherit;font-family:inherit;margin:0px;font-weight:inherit;outline:0px;border:0px;padding:0px"> </span><span style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-size:13px;font-family:inherit;vertical-align:baseline;color:rg">Int64</span><span style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-size:13px;font-family:inherit;vertical-align:baseline;color:rgb(102,102,0)">.</span><span style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-size:13px;font-family:inherit;vertical-align:baseline;color:rgb(102,0,102)">MaxValue</span><span style="vertical-align:baseline;font-size:13px;font-style:inherit;font-family:inherit;margin:0px;font-weight:inherit;outline:0px;border:0px;padding:0px"> </span><span style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-size:13px;font-family:inherit;vertical-align:baseline;color:rgb(102,102,0)">);</span><span> </span><span style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-size:13px;font-family:inherit;vertical-align:baseline;color:rgb(0,0,221)">break</span><span style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-size:13px;font-family:inherit;vertical-align:baseline;color:rgb(102,102,0)">;</span><span style="vertical-align:baseline;font-size:13px;font-style:inherit;font-family:inherit;margin:0px;font-weight:inherit;outline:0px;border:0px;padding:0px"> </span><span style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-size:13px;font-family:inherit;vertical-align:baseline;color:rgb(102,102,0)">}</span><span style="vertical-align:baseline;font-size:13px;font-style:inherit;font-family:inherit;margin:0px;font-weight:inherit;outline:0px;border:0px;padding:0px"> </span><span style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-size:13px;font-family:inherit;vertical-align:baseline;color:rgb(0,0,221)">catch</span><span style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-size:13px;font-family:inherit;vertical-align:baseline;color:rgb(102,102,0)">(</span><span style="vertical-align:baseline;font-size:13px;font-style:inherit;font-family:inherit;margin:0px;font-weight:inherit;outline:0px;border:0px;padding:0px"> </span><span style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-size:13px;font-family:inherit;vertical-align:baseline;color:rgb(102,0,102)">Exception</span><span style="vertical-align:baseline;font-size:13px;font-style:inherit;font-family:inherit;margin:0px;font-weight:inherit;outline:0 px;border:0px;padding:0px"> E </span><span style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-size:13px;font-family:inherit;vertical-align:baseline;color:rgb(102,102,0)">)</span><span style="vertical-align:baseline;font-size:13px;font-style:inherit;font-family:inherit;margin:0px;font-weight:inherit;outline:0px;border:0px;padding:0px"> </span><span style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-size:13px;font-family:inherit;vertical-align:baseline;color:rgb(102,102,0)">{</span><span style="vertical-align:baseline;font-size:13px;font-style:inherit;font-family:inherit;margin:0px;font-weight:inherit;outline:0px;border:0px;padding:0px"> </span><span style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-size:13px;font-family:inherit;vertical-align:baseline;color:rgb(102,0,102)">Thread</span><span style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-size:13px;font-family:inherit;vertical-align:baseline;color:rgb(102,102,0)">.</span><span style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-size:13px;font-family:inherit;vertical-align:baseline;color:rgb(102,0,102)">Sleep</span><span style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-size:13px;font-family:inherit;vertical-align:baseline;color:rgb(102,102,0)">(</span><span> </span><span style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-size:13px;font-family:inherit;vertical-align:baseline;color:rgb(102,0,102)">SleepCount</span><span style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-size:13px;font-family:inherit;vertical-align:baseline;color:rgb(102,102,0)">++</span><span style="vertical-align:baseline;font-size:13px;font-style:inherit;font-family:inherit;margin:0px;font-weight:inherit;outline:0px;border:0px;padding:0px"> </span><span style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-size:13px;font-family:inherit;vertical-align:ba seline;color:rgb(102,102,0)">);</span><span style="vertical-align:baseline;font-size:13px;font-style:inherit;font-family:inherit;margin:0px;font-weight:inherit;outline:0px;border:0px;padding:0px"> </span><span style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-size:13px;font-family:inherit;vertical-align:baseline;color:rgb(102,102,0)">}</span><span style="vertical-align:baseline;font-size:13px;font-style:inherit;font-family:inherit;margin:0px;font-weight:inherit;outline:0px;border:0px;padding:0px"> </span><span style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-size:13px;font-family:inherit;vertical-align:baseline;color:rgb(102,102,0)">}</span><u></u></code><br>

    </blockquote>
    You catch *all* exceptions. This is horrible. You should definitely
    specify your exception you except (haha). You also should look what
    kind of exception was thrown, maybe a NotSupported (on this
    platform) exception would be fine, else file a bug, that it should
    be done, cause it's not supported by android (regarding to Rafael
    Teixeira)<br>
    <br>
    Regards,<br>
    Marcel<br>
  </div>

<br>_______________________________________________<br>
Mono-devel-list mailing list<br>
<a href="mailto:Mono-devel-list@lists.ximian.com">Mono-devel-list@lists.ximian.com</a><br>
<a href="http://lists.ximian.com/mailman/listinfo/mono-devel-list" target="_blank">http://lists.ximian.com/mailman/listinfo/mono-devel-list</a><br>
<br></blockquote></div>