TaminoClient Constructor

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,

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…’.

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);
}
}