User: user57
Date: 01/08/21 16:51:22
Modified: src/main/javax/jms JMSException.java
Log:
o needed to change field names too (removed leading _)
Revision Changes Path
1.3 +7 -7 jboss-j2ee/src/main/javax/jms/JMSException.java
Index: JMSException.java
===================================================================
RCS file: /cvsroot/jboss/jboss-j2ee/src/main/javax/jms/JMSException.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- JMSException.java 2001/08/21 23:47:10 1.2
+++ JMSException.java 2001/08/21 23:51:22 1.3
@@ -23,16 +23,16 @@
*
* @author Chris Kimpton ([EMAIL PROTECTED])
* @author <a href="mailto:[EMAIL PROTECTED]">Jason Dillon</a>
- * @version $Revision: 1.2 $
+ * @version $Revision: 1.3 $
**/
public class JMSException
extends Exception
{
/** The specified error code */
- private String _errorCode; // = null;
+ private String errorCode; // = null;
/** A linked exception */
- private Exception _linkedException;
+ private Exception linkedException;
/**
* Construct a JMSException with reason and error code for exception
@@ -40,7 +40,7 @@
public JMSException(String reason, String errorCode)
{
super(reason);
- _errorCode = errorCode;
+ this.errorCode = errorCode;
}
/**
@@ -57,7 +57,7 @@
*/
public String getErrorCode()
{
- return _errorCode;
+ return errorCode;
}
/**
@@ -65,7 +65,7 @@
*/
public Exception getLinkedException()
{
- return _linkedException;
+ return linkedException;
}
/**
@@ -73,6 +73,6 @@
*/
public synchronized void setLinkedException(Exception ex)
{
- _linkedException = ex;
+ linkedException = ex;
}
}
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development