summaryrefslogtreecommitdiff
path: root/src/interfaces/jdbc/postgresql/Driver.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/Driver.java
parentc2f0d565f319f7a75f0178758e9270c96d0c807f (diff)
Internationalisation of error messages
Diffstat (limited to 'src/interfaces/jdbc/postgresql/Driver.java')
-rw-r--r--src/interfaces/jdbc/postgresql/Driver.java8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/interfaces/jdbc/postgresql/Driver.java b/src/interfaces/jdbc/postgresql/Driver.java
index c7c4473e0d6..21d1300a747 100644
--- a/src/interfaces/jdbc/postgresql/Driver.java
+++ b/src/interfaces/jdbc/postgresql/Driver.java
@@ -3,11 +3,6 @@ package postgresql;
import java.sql.*;
import java.util.*;
-// You will find some mentions to a PSQLException class. This was intended
-// to allow internationalisation of error messages. However, this is not
-// working quite to plan, so the class exists in the source, but it's not
-// quite implemented yet. Peter May 17 1999.
-//
import postgresql.util.PSQLException;
/**
@@ -109,10 +104,8 @@ public class Driver implements java.sql.Driver
return (java.sql.Connection)con;
} catch(ClassNotFoundException ex) {
throw new PSQLException("postgresql.jvm.version",ex);
- //throw new SQLException("The postgresql.jar file does not contain the correct JDBC classes for this JVM. Try rebuilding.\nException thrown was "+ex.toString());
} catch(Exception ex2) {
throw new PSQLException("postgresql.unusual",ex2);
- //throw new SQLException("Something unusual has occured to cause the driver to fail. Please report this exception: "+ex2.toString());
}
// The old call - remove before posting
//return new Connection (host(), port(), props, database(), url, this);
@@ -356,7 +349,6 @@ public class Driver implements java.sql.Driver
public static SQLException notImplemented()
{
return new PSQLException("postgresql.unimplemented");
- //return new SQLException("This method is not yet implemented.");
}
}