DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23866>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23866

Invalid cookie causing IllegalArgumentException





------- Additional Comments From [EMAIL PROTECTED]  2003-10-17 09:56 -------
Hello Oleg,

I don't want to start a religious debate about the use of checked and
unchecked exceptions. The policy I have adopted for years after reading
an article about the problem is:

- unchecked if the caller could have avoided the problem by using the
  class/method/object correctly, e.g. by passing valid arguments,
  performing necessary initializations, and so on
- unchecked if the problem is outside of the callers control, such
  as network connectivity, file system errors, and so on

Based on this policy, throwing a RuntimeException for bad parameters
is appropriate.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to