Nicola Ken Barozzi wrote: > > Let me tell you: instead of modifying the sitemap, we must make Cocoon > > better at general exception throwing because, as it currently stands, > > it's dead verbose but deadly useless :( > > Yep, and this is exactly my concern, also because it stems from unfinished > work on my part.
Well.. > So seeing that there are no objections on the fact that this has to be done, > I will work on this in these days and send you patches. ...cool. > What I need is comments and votes on the Notificable interface: > > 1: change name from Notificable to Notifiable? -1, let's avoid useless back incompatible changes. > 2: should Notifications be cascading themselves? what do you mean? > 2: which methods are useless, limited, needed and is the meaning > understandable/stood? > > public interface Notificable { > > /** > * Gets the Type attribute of the Notificable object > * NKB instead of String return a log level? > */ > String getType(); > > /** > * Gets the Title attribute of the Notificable object > * NKB the brief description > */ > String getTitle(); > > /** > * Gets the Source attribute of the Notificable object > * NKB who made the error > */ > String getSource(); > > /** > * Gets the Sender attribute of the Notificable object > * NKB who sent me the notification > */ > String getSender(); > > /** > * Gets the Message attribute of the Notificable object > * NKB What the error is about. > */ > String getMessage(); > > /** > * Gets the Description attribute of the Notificable object > * NKB Detailed description of the error with possible > solutions-explanations-links to faq. > */ > String getDescription(); > > /** > * Gets the ExtraDescriptions attribute of the Notificable object > * NKB other special fields that may be needed (stacktrace4example) > */ > HashMap getExtraDescriptions(); > } +0, don't have any good ideas on how to handle this, but as long as this reduces stacktrace verbosity and make errors useful I'll be happy :) -- Stefano Mazzocchi One must still have chaos in oneself to be able to give birth to a dancing star. <[EMAIL PROTECTED]> Friedrich Nietzsche -------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]