<div dir="ltr">Hi All,<div style>In the scope of <a href="https://issues.jboss.org/browse/AEROGEAR-803">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.</div>
<div style><br></div><div style>There were some suggestions to change that into :</div><div style>- throwing a runtime exception (seems a bit brutal)</div><div style>- or returning an empty user (can be confusing)</div><div style>
<br></div><div style>What is your opinion about this ? </div><div style><br></div><div style>Seb</div><div style><br></div><div style>ps: the method <a href="https://gist.github.com/4510879">https://gist.github.com/4510879</a></div>
<div style><br></div><div style><br></div></div>