Guest
(Guest)
November 9, 2001, 5:15pm
1
Can anyone tell me what’s wrong ???
import com.softwareag.tamino.API.dom.; import java.lang. ; import java.util.*;
public class HandbookDBClient extends TaminoClient {
public HandbookDBClient(java.lang.String HandbookDBUrl) { try { super(HandbookDBUrl); } catch (TaminoError e) { System.out.println("Tamino Error Text: " + e.errorText ); System.out.println("Tamino Error Code: " + e.responseCode ); } } }
Thanks,
rpn
(rpn)
November 9, 2001, 5:31pm
2
The call to super(…) must be the first statement in the constructor. In your example the first statement is try, so I guess you are getting compilation errors, one of which will say ‘call to super must be first statement…’.
Guest
(Guest)
November 9, 2001, 5:53pm
3
thanks a lot, you’re right. this works pretty good : import com.softwareag.tamino.API.dom.; import java.lang. ; import java.util.*;
public class HandbookDBClient extends TaminoClient {
public HandbookDBClient(java.lang.String HandbookDBUrl) throws TaminoError { super(HandbookDBUrl); setPageSize(5); } }