You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by Peter Donald <pe...@apache.org> on 2002/03/01 14:05:41 UTC

Re: Logkit: NullPointerException in JMSQueueTarget constructor

On Wed, 27 Feb 2002 19:57, david.gray@hic.gov.au wrote:
> Doh! I was actually suprised to see this as well. The other possibility to
> solve the problem is to check for the m_errorhandler as null but this would
> get tedious and impose an additional overhead every time you call the error
> handler and again is not elegant. Does not look OO either.

yup ;(

> Incidentally, even if we initialize it to the DefaultErrorHandler, as
> AbstractJMSTarget does not call super in the constructor would it get
> instantiated?

All java constructors call super - even if not explicitly specified. So that 
should be fine.

-- 
Cheers,

Pete

*----------------------------------------------*
| The best defense against logic is ignorance. |
*----------------------------------------------*

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>