On Tue, 6 Nov 2007, Henning Nitschke wrote:

Bug reference:      3722
PostgreSQL version: 8.2
Operating system:   Java
Description:        PSQLWarning missing call to super in CTOR
Details:

public PSQLWarning(ServerErrorMessage err)
{
 super(err.toString()); // <== missing
 this.serverError = err;
}


Why is this necessary? Since PSQLWarning overrides both getMessage and toString, why is the super call needed?

Kris Jurka

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Reply via email to