1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-03 20:02:46 +03:00

Internationalisation of error messages

This commit is contained in:
Peter Mount
1999-05-18 23:17:46 +00:00
parent c2f0d565f3
commit 4c63b257fd
27 changed files with 198 additions and 132 deletions

View File

@ -17,7 +17,7 @@ import postgresql.largeobject.*;
import postgresql.util.*;
/**
* $Id: Connection.java,v 1.1 1999/01/17 04:51:56 momjian Exp $
* $Id: Connection.java,v 1.2 1999/05/18 23:17:26 peter Exp $
*
* A Connection represents a session with a specific database. Within the
* context of a Connection, SQL statements are executed and results are
@ -96,7 +96,7 @@ public class Connection extends postgresql.Connection implements java.sql.Connec
*/
public java.sql.CallableStatement prepareCall(String sql) throws SQLException
{
throw new SQLException("Callable Statements are not supported at this time");
throw new PSQLException("postgresql.con.call");
// return new CallableStatement(this, sql);
}
@ -311,7 +311,7 @@ public class Connection extends postgresql.Connection implements java.sql.Connec
*/
public void setTransactionIsolation(int level) throws SQLException
{
throw new SQLException("Transaction Isolation Levels are not implemented");
throw postgresql.Driver.notImplemented();
}
/**