Tim,
Try removing the '.' between 'super' and '('. It's expecting you to specify
an actual member function of the superclass, not call the superclass's
constructor. Hope this helps.
-Andy
> -----Original Message-----
> From: Tim Reilly [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 27, 1999 10:37 AM
> To: [EMAIL PROTECTED]
> Subject: Constructor/Inheritance wierdness
>
>
> Hi, hopefully this one's a quickie. I'm using blackdown jdk 117v3 and
> getting the following error message when compiling my TemplateList class.
>
> According the the Java 1.1 specification I should be able to call the
> superclasses' constructor with this syntax. What am I doing wrong?
>
> Thanks,
>
> -Tim
>
>
> #####
> # Compiler error message
> #####
>
> TemplateList.java:29: Identifier expected.
> super.(host,MetaType,TemplateType);
> ^
> #####
> # Snippet of TemplateList class declaration ( generates above error on
> # compiliation )
> #####
>
> public class TemplateList extends Template {
>
> public TemplateList (String host, String MetaType, String TemplateType)
> {
>
> super.(host,MetaType,TemplateType);
> this.iStart = 1;
> this.iStop = 1 + config.iDefaultRecords;
> }
>
> }
>
> #####
> # Snippet of Template class declaration ( compiles OK)
> #####
>
> public class Template {
>
> public Template (String Host, String MetaType, String TemplateType) {
>
>
> }
>
> }
>
>
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
>
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]