<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Azért a való életben az is előfordul, hogy nem te szabod meg, hogy a metódus mikor dob kivételt, és mikor tér vissza null értékkel. Ezzel nem mondok neked ellent, csak van olyan, amikor egy jól definiált interface-t valósítasz meg.<br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><span class="Apple-style-span" style="color: rgb(136, 136, 136); ">--</span><span class="Apple-style-span" style="color: rgb(136, 136, 136); "><br></span><span class="Apple-style-span" style="color: rgb(136, 136, 136); ">Verhás Péter</span><span class="Apple-style-span" style="color: rgb(136, 136, 136); "><br></span><span class="Apple-style-span" style="color: rgb(136, 136, 136); "></span><span class="Apple-style-span" style="color: rgb(136, 136, 136); "><a href="mailto:peter@verhas.com">peter@verhas.com</a></span><span class="Apple-style-span" style="color: rgb(136, 136, 136); "><br></span><span class="Apple-style-span" style="color: rgb(136, 136, 136); ">+36(30)9306805</span><span class="Apple-style-span" style="color: rgb(136, 136, 136); "><br></span><span class="Apple-style-span" style="color: rgb(136, 136, 136); ">skype: verhas</span></div></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline">
</div>
<br><div><div>On 2012.07.23., at 15:56, Gábor Garami wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>En, ha fontos parameterekrol van szo, es akar egy ellenorzes is<br>elbukik, szivfajdalom nelkul dobok exceptiont, mert ez HIBA, ilyen<br>ertekeket nem szabad kapni.<br><br>Ha nem fontosakrol van szo, akkor ketfele eset van:<br> - A hiba javithato. Ekkor a parameterek atvetelekor automatikusan<br>fixalom is a bejovo parametert, igy a rendszer nem kap rossz ertekeket<br>(nem sok ilyen van, pl. van valami szam, ami nem lehet kevesebb, mint<br>x, de kevesebbet kapok, ha nem kritikus, akkor automatikusan x-szel<br>dolgozok tovabb).<br> - A hiba nem javithato. Ez kritikus hiba, akar opcionalis volt a<br>parameter, akar nem, rossz ertekekkel nem engedek el semmi folyamatot<br>-&gt; exception.<br><br>Garami Gábor<br>E-mail: <a href="mailto:gabor.garami@hron.me">gabor.garami@hron.me</a><br>Tel: +36 20 235 9621<br>MSN: <a href="mailto:hrgy@vipmail.hu">hrgy@vipmail.hu</a><br>Skype: hron84<br></div></blockquote></div><br></body></html>