org.postgresql.util.PSQLWarning Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fdb-sql-layer-jdbc Show documentation
Show all versions of fdb-sql-layer-jdbc Show documentation
The FoundationDB SQL Layer Driver for JDBC4
/*-------------------------------------------------------------------------
*
* Copyright (c) 2004-2011, PostgreSQL Global Development Group
*
*
*-------------------------------------------------------------------------
*/
package org.postgresql.util;
import java.sql.SQLWarning;
public class PSQLWarning extends SQLWarning
{
private ServerErrorMessage serverError;
public PSQLWarning(ServerErrorMessage err)
{
this.serverError = err;
}
public String toString()
{
return serverError.toString();
}
public String getSQLState()
{
return serverError.getSQLState();
}
public String getMessage()
{
return serverError.getMessage();
}
public ServerErrorMessage getServerErrorMessage()
{
return serverError;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy