[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: InstantiationException -- need guidance
On Mon, 22 Jan 2001, Neil Aggarwal wrote:
> Falko:
>
> > Your PersonNameImpl does not provide a default (param-less) ctor.
>
> I really appreciate your help, but since none of my
> classes provide constructors, shouldn't Java create an
> implicit constructor?
Yes, but AFAIK this one is not public and newInstance() needs a public ctor.
Does your code work with a public ctor?
Falko
>
> Thanks,
> Neil.
>
>
> --
> Neil Aggarwal
> JAMM Consulting, Inc. -- (972) 612-6056, http://www.JAMMConsulting.com
> Custom Internet Development -- Java, JSP, servlets, databases
--
______________________________________________________________________
Falko Braeutigam mailto:falko@smb-tec.com
SMB GmbH http://www.smb-tec.com