Please limit the Swing mailing lists to Swing questions.
At 08:27 PM 6/5/01 -0400, Omar Diego Vera Ustariz wrote:
>Hello to everybody, I have a question that is related with java
>programming in general. I have a class with a constructor in myClass:
>
>public myClass{
> public MyConstructor(String a,String b, int t) throws Exception
> {
> }
> public void createEmptyTableCell(int column,boolean
> master)//*************Overrideable method
>.
>.
>.
>}
>
>But when I am overriding the method :
>
> MyClass myObj=new MyClass("a","b",1)//***************Error line**********
> {
> public void createEmptyTableCell(int column,boolean
> master)//************Overriding the method
> {
> }
> }
>
>
>I am getting the following compilation error:
>
>"testservlet.java": Error #: 360 : unreported exception:
>java.lang.Exception; must be caught or declared to be thrown at line 32,
>column 28
>I hope you can help me to solve this problem without using heritage. I
>tried writing a try-catch and a throws in the line of the error but that's
>not the solution.
>
>
>Thanks in advance .
>
>Omar Vera.
John Zukowski, Strategic Java Consulting
JZ Ventures, Inc. - http://www.jzventures.com
Java Collections - http://www.apress.com/catalog/book/1893115925/
The limits of my language are the limits of my world. - Wittgenstein
_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing