[teiid-commits] teiid SVN: r3120 - in trunk: client-jdk15/src/main/java/net/sf/retrotranslator/runtime/javax/xml and 2 other directories.
teiid-commits at lists.jboss.org
teiid-commits at lists.jboss.org
Mon Apr 25 16:29:04 EDT 2011
Author: rareddy
Date: 2011-04-25 16:29:04 -0400 (Mon, 25 Apr 2011)
New Revision: 3120
Added:
trunk/client-jdk15/src/main/java/net/sf/retrotranslator/runtime/javax/xml/
trunk/client-jdk15/src/main/java/net/sf/retrotranslator/runtime/javax/xml/stream/
trunk/client-jdk15/src/main/java/net/sf/retrotranslator/runtime/javax/xml/stream/XMLStreamException_.java
Modified:
trunk/common-core/src/main/java/org/teiid/core/types/XMLType.java
Log:
TEIID-1491: Adding support for XML results
Added: trunk/client-jdk15/src/main/java/net/sf/retrotranslator/runtime/javax/xml/stream/XMLStreamException_.java
===================================================================
--- trunk/client-jdk15/src/main/java/net/sf/retrotranslator/runtime/javax/xml/stream/XMLStreamException_.java (rev 0)
+++ trunk/client-jdk15/src/main/java/net/sf/retrotranslator/runtime/javax/xml/stream/XMLStreamException_.java 2011-04-25 20:29:04 UTC (rev 3120)
@@ -0,0 +1,43 @@
+/*
+ * JBoss, Home of Professional Open Source
+ *
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * by the @author tags. See the COPYRIGHT.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package net.sf.retrotranslator.runtime.javax.xml.stream;
+
+public class XMLStreamException_ extends Exception {
+
+ public XMLStreamException_() {
+ super();
+ }
+
+ public XMLStreamException_(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ public XMLStreamException_(String message) {
+ super(message);
+ }
+
+ public XMLStreamException_(Throwable cause) {
+ super(cause);
+ }
+
+}
Property changes on: trunk/client-jdk15/src/main/java/net/sf/retrotranslator/runtime/javax/xml/stream/XMLStreamException_.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Modified: trunk/common-core/src/main/java/org/teiid/core/types/XMLType.java
===================================================================
--- trunk/common-core/src/main/java/org/teiid/core/types/XMLType.java 2011-04-25 20:18:21 UTC (rev 3119)
+++ trunk/common-core/src/main/java/org/teiid/core/types/XMLType.java 2011-04-25 20:29:04 UTC (rev 3120)
@@ -131,6 +131,10 @@
this.type = (Type)in.readObject();
} catch (OptionalDataException e) {
this.type = Type.UNKNOWN;
+ } catch(IOException e) {
+ this.type = Type.UNKNOWN;
+ } catch(ClassNotFoundException e) {
+ this.type = Type.UNKNOWN;
}
}
More information about the teiid-commits
mailing list