geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r1546066 - /geronimo/specs/trunk/geronimo-stax-api_1.2_spec/src/main/java/javax/xml/stream/XMLStreamException.java
Date Wed, 27 Nov 2013 15:19:28 GMT
Author: gnodet
Date: Wed Nov 27 15:19:28 2013
New Revision: 1546066

URL: http://svn.apache.org/r1546066
Log:
GERONIMO-6509: XMLStreamException not calling "super(th)" in constructors

Modified:
    geronimo/specs/trunk/geronimo-stax-api_1.2_spec/src/main/java/javax/xml/stream/XMLStreamException.java

Modified: geronimo/specs/trunk/geronimo-stax-api_1.2_spec/src/main/java/javax/xml/stream/XMLStreamException.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-stax-api_1.2_spec/src/main/java/javax/xml/stream/XMLStreamException.java?rev=1546066&r1=1546065&r2=1546066&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-stax-api_1.2_spec/src/main/java/javax/xml/stream/XMLStreamException.java
(original)
+++ geronimo/specs/trunk/geronimo-stax-api_1.2_spec/src/main/java/javax/xml/stream/XMLStreamException.java
Wed Nov 27 15:19:28 2013
@@ -32,18 +32,19 @@ public class XMLStreamException extends 
 	}
 
 	public XMLStreamException(java.lang.Throwable th) {
+		super(th);
 		this.nested = th;
 	}
 
 	public XMLStreamException(java.lang.String msg, java.lang.Throwable th) {
-		super(msg);
+		super(msg, th);
 		this.nested = th;
 	}
 
 	public XMLStreamException(java.lang.String msg, Location location,
 			java.lang.Throwable th) {
 		super("ParseError at [row,col]:[" + location.getLineNumber() + ","
-				+ location.getColumnNumber() + "]\n" + "Message: " + msg);
+				+ location.getColumnNumber() + "]\n" + "Message: " + msg, th);
 		this.location = location;
 		this.nested = th;
 	}



Mime
View raw message