* Stefan Schubert
Hi, ähm, as I am often running into this problem which exception has to be handled or not, what is the result of this discussion ?
As always, it depends. An exception, as its name implies, is an exceptional event and should be treated as such in the UI. That said, Ruby uses Exceptions quite extensively to report errors back to the caller. Your code should handle such cases as good as possible. Letting exceptions 'bubble up' to the generic exception handler we have in ApplicationController is ok, if your code cannot continue otherwise (i.e. policy not granted) Klaus --- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org