summaryrefslogtreecommitdiff
path: root/src/interfaces/jdbc/postgresql/jdbc2/Connection.java
diff options
context:
space:
mode:
authorPeter Mount <peter@retep.org.uk>1999-05-18 23:17:46 +0000
committerPeter Mount <peter@retep.org.uk>1999-05-18 23:17:46 +0000
commit4c63b257fd90e28a043197fd2abc07f2166f8eb3 (patch)
treec7e1108fc1dae813c2df536d5475fc6058293519 /src/interfaces/jdbc/postgresql/jdbc2/Connection.java
parentc2f0d565f319f7a75f0178758e9270c96d0c807f (diff)
downloadpostgresql-4c63b257fd90e28a043197fd2abc07f2166f8eb3.tar.gz
Internationalisation of error messages
Diffstat (limited to 'src/interfaces/jdbc/postgresql/jdbc2/Connection.java')
-rw-r--r--src/interfaces/jdbc/postgresql/jdbc2/Connection.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/interfaces/jdbc/postgresql/jdbc2/Connection.java b/src/interfaces/jdbc/postgresql/jdbc2/Connection.java
index 53e1bd6529..7e086435b2 100644
--- a/src/interfaces/jdbc/postgresql/jdbc2/Connection.java
+++ b/src/interfaces/jdbc/postgresql/jdbc2/Connection.java
@@ -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();
}
/**