Index: PSQLException.java =================================================================== RCS file: /usr/local/cvsroot/www/classes/org/postgresql/util/PSQLException.java,v retrieving revision 1.1 diff -u -r1.1 PSQLException.java --- PSQLException.java 2000/09/05 00:36:14 1.1 +++ PSQLException.java 2000/09/12 04:46:54 @@ -66,17 +66,21 @@ try { bundle = ResourceBundle.getBundle("org.postgresql.errors"); } catch(MissingResourceException e) { + // translation files have not been installed. + message = id; } } + if (bundle != null) { // Now look up a localized message. If one is not found, then use // the supplied message instead. - message = null; - try { - message = bundle.getString(id); - } catch(MissingResourceException e) { - message = id; - } + message = null; + try { + message = bundle.getString(id); + } catch(MissingResourceException e) { + message = id; + } + } // Expand any arguments if(args!=null)