<div>
                    Just go with RuntimeException and we change it if necessary.
                </div>
                <div><div><br></div><div><br></div><div><div>--&nbsp;</div><div>"The measure of a man is what he does with power" - Plato</div><div>-</div><div>@abstractj</div><div>-</div><div>Volenti Nihil Difficile</div></div></div>
                 
                <p style="color: #A0A0A8;">On Monday, January 14, 2013 at 5:45 AM, Sebastien Blanc wrote:</p>
                <blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
                    <span><div><div><div dir="ltr">Ok,<div style="">We have a majority for the Exception, so go! go! go! for the runtime Exception , shall I create a new Exception in ag-security ? Suggestions for the name ?</div><div style="">Seb</div></div><div>
<br><br><div>On Fri, Jan 11, 2013 at 5:57 PM, Douglas Campos <span dir="ltr">&lt;<a href="mailto:qmx@qmx.me" target="_blank">qmx@qmx.me</a>&gt;</span> wrote:<br><blockquote type="cite"><div>
<div><br>
On 11/01/2013, at 13:01, Sebastien Blanc &lt;<a href="mailto:scm.blanc@gmail.com">scm.blanc@gmail.com</a>&gt; wrote:<br>
<br>
&gt; Hi All,<br>
&gt; In the scope of <a href="https://issues.jboss.org/browse/AEROGEAR-803" target="_blank">https://issues.jboss.org/browse/AEROGEAR-803</a> , we have a method to retrieve an user (based on its id). If the user don't exist it returns null.<br>

&gt;<br>
&gt; There were some suggestions to change that into :<br>
&gt; - throwing a runtime exception (seems a bit brutal)<br>
</div>+1<br>
<div>&gt; - or returning an empty user (can be confusing)<br>
</div>-1<br>
<div>&gt;<br>
&gt; What is your opinion about this ?<br>
&gt;<br>
&gt; Seb<br>
&gt;<br>
&gt; ps: the method <a href="https://gist.github.com/4510879" target="_blank">https://gist.github.com/4510879</a><br>
&gt;<br>
&gt;<br>
</div><div><div>&gt; _______________________________________________<br>
&gt; aerogear-dev mailing list<br>
&gt; <a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
<br>
<br>
_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
</div></div></div></blockquote></div><br></div>
</div><div><div>_______________________________________________</div><div>aerogear-dev mailing list</div><div><a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a></div><div><a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a></div></div></div></span>
                 
                 
                 
                 
                </blockquote>
                 
                <div>
                    <br>
                </div>