RE: org.apache.struts.util.AppException implementing an Interface

2002-10-02 Thread phpsurf
2 octobre 2002 16:52 > To: [EMAIL PROTECTED] > Subject: RE: org.apache.struts.util.AppException implementing an > Interface > > > I don't understand the use of AppException in the first place. > Looking at > the code for ExceptionHandler, there is a check to see

RE: org.apache.struts.util.AppException implementing an Interface

2002-10-02 Thread David Graham
Struts Developers List" <[EMAIL PROTECTED]> >Subject: RE: org.apache.struts.util.AppException implementing an Interface >Date: Wed, 2 Oct 2002 11:15:19 +0200 > >indeed, I did not pay a real attention to the name of the interface ! :) >suggest anything you like and it will be great ! >a

RE: org.apache.struts.util.AppException implementing an Interface

2002-10-02 Thread phpsurf
TECTED]] > Sent: mardi 1 octobre 2002 20:23 > To: [EMAIL PROTECTED] > Subject: Re: org.apache.struts.util.AppException implementing an > Interface > > > I don't think adding interfaces using hungarian notation ("I" > prefix) is a > very good idea. It decr

Re: org.apache.struts.util.AppException implementing an Interface

2002-10-01 Thread David Graham
t;phpsurf" <[EMAIL PROTECTED]> >Reply-To: "Struts Developers List" <[EMAIL PROTECTED]> >To: "Struts Developers List" <[EMAIL PROTECTED]> >CC: <[EMAIL PROTECTED]> >Subject: org.apache.struts.util.AppException implementing an Interface &g

org.apache.struts.util.AppException implementing an Interface

2002-10-01 Thread phpsurf
Well, that was a very smart suggestion ! So, what about creating this interface ? - this interface could be called org.apache.struts.util.IAppException - this interface would declare 2 methods: getError() and getProperty(). - this interface would be used by the default exception handler to recogn