/[classpath]/classpath/javax/sql/ConnectionEvent.java
ViewVC logotype

Diff of /classpath/javax/sql/ConnectionEvent.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by bryce, Fri Jun 21 05:34:12 2002 UTC revision 1.2 by tromey, Tue Feb 11 05:12:34 2003 UTC
# Line 1  Line 1 
1  /* ConnectionEvent.java  /* ConnectionEvent.java
2     Copyright (C) 2002 Free Software Foundation, Inc.     Copyright (C) 2002, 2003 Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 46  import java.util.EventObject; Line 46  import java.util.EventObject;
46   */   */
47  public class ConnectionEvent extends EventObject  public class ConnectionEvent extends EventObject
48  {  {
49    private SQLException sqlException;    private static final long serialVersionUID = -4843217645290030002L;
50      
51      // Note that the name is chosen for serialization.
52      private SQLException ex;
53    
54    /**    /**
55     * @since 1.4     * @since 1.4
56     */     */
# Line 62  public class ConnectionEvent extends Eve Line 65  public class ConnectionEvent extends Eve
65    public ConnectionEvent(PooledConnection con, SQLException ex)    public ConnectionEvent(PooledConnection con, SQLException ex)
66    {    {
67      super(con);      super(con);
68      this.sqlException = ex;      this.ex = ex;
69    }    }
70    
71    /**    /**
# Line 70  public class ConnectionEvent extends Eve Line 73  public class ConnectionEvent extends Eve
73     */     */
74    public SQLException getSQLException()    public SQLException getSQLException()
75    {    {
76      return sqlException;      return ex;
77    }    }
78  }  }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26