RE: ClassCast exception for factory

2004-04-20 Thread Lutz Michael
n into this problem myself and refactored as he recommends. Since then we've had no problems, and I can sleep at night. Mike -Original Message- From: Sikha, Naresh [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 20, 2004 5:57 PM To: 'Log4J Users List' Subject: RE: Cla

RE: ClassCast exception for factory

2004-04-20 Thread Sikha, Naresh
ginal Message- From: Peake, Chris [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 20, 2004 1:36 PM To: [EMAIL PROTECTED] Subject: ClassCast exception for factory I am trying to implement a new logger factory to get around a problem I posted earlier. I am failing with a classcast exception o

ClassCast exception for factory

2004-04-20 Thread Peake, Chris
I am trying to implement a new logger factory to get around a problem I posted earlier. I am failing with a classcast exception on the statment below: private ConversionLogger logger = (ConversionLogger) ConversionLogger.getInstance(this.getClass()); The ConverstionLogger and ConversionLoo