>
> RedirectException is an elegant way of cut your logic whereever you are.
> I'm
> not against it. It's really usefull (although it looks like old goto
> sentence).
> Ok, it's not really an exception. Let's say you are throwing a thing to
> get
> cought by someone that know s what to do with that throwable. You get
> nervous when people use exceptions like that, and i get nervous when
> people
> start discussing only on how to name something. It's really the best
> approach you can have. You do that, or you start returning 0s and 1s like
> your functions in Ansi C.
Obviously you've been reading my java code :). I still use integer
return codes all over the place, although I'm prone to do the old
Public static final int RC_SUCCESS = 0;
Public static final int RC_BAD_HOSTNAME = 1;
Publics static final int RC_BAD_PORT = 2;
Etc :)
--- Pat
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]