Changeset 10867


Ignore:
Timestamp:
2005-11-08T12:27:34+13:00 (18 years ago)
Author:
kjdon
Message:

changed the error printout a bit for getConnection()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/src/java/org/greenstone/gsdl3/gs3build/database/GS3SQLConnectionFactory.java

    r10306 r10867  
    2626        return connection;
    2727    }
    28     catch (SQLException sqlEx) {
    29         System.out.println(sqlEx.toString());
    30     }
    3128    catch (Exception ex) {
    32         System.out.println(ex.toString());
     29        System.out.println("GS3SQLConnectionFactory.getConnection() Error:");
     30        System.out.println(ex.getMessage());
    3331    }
    3432    return null;
Note: See TracChangeset for help on using the changeset viewer.