I'm working on a unit test case now. It has to do with bean services that
are abstract classes for the interface and they instantiate a sub class. The
line

                if (!facet.isAssignableToType(_factoryParameters,
parameterTypes[i]))
                    continue outer;

Is returning false in that case. I think it is just a to bad situation.

Richard

-----Original Message-----
From: James Carman [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 04, 2005 2:21 PM
To: [email protected]
Subject: RE: A question about an error message

Richard, 

Back up a bit.  Where are you at in the code?  Please give a specific
example of what you're doing.  

James


-----Original Message-----
From: Hensley, Richard [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 04, 2005 5:05 PM
To: [email protected]
Subject: A question about an error message


This method

    private Object instantiateExplicitConstructorInstance(Class
serviceClass, List builderParameters)

Throws this exception when bad things happen, is this the correct message.
I've been trying to figure out why autowiring was begin done, when I figured
out that it is not, the error message is just misleading.

        throw new
ApplicationRuntimeException(ServiceMessages.unableToFindAutowireConstructor(
),
                _parameter.getLocation(), null);

I think it should be something like, unable to find explicit constructor.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to