You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by di...@apache.org on 2005/03/15 23:33:36 UTC
cvs commit: ws-axis/java/src/org/apache/axis/encoding/ser/castor CastorDeserializer.java CastorSerializer.java
dims 2005/03/15 14:33:36
Modified: java/src/org/apache/axis/encoding/ser/castor
CastorDeserializer.java CastorSerializer.java
Log:
Fix for AXIS-1855 - Add XPath in Castor(De)Serializer on ValidationException
from Jene Jasper
URL: http://issues.apache.org/jira/browse/AXIS-1855
Revision Changes Path
1.8 +1 -1 ws-axis/java/src/org/apache/axis/encoding/ser/castor/CastorDeserializer.java
Index: CastorDeserializer.java
===================================================================
RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/encoding/ser/castor/CastorDeserializer.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- CastorDeserializer.java 25 Feb 2004 14:02:39 -0000 1.7
+++ CastorDeserializer.java 15 Mar 2005 22:33:36 -0000 1.8
@@ -68,7 +68,7 @@
} catch (ValidationException ve) {
log.error(Messages.getMessage("castorValidationException00"), ve);
throw new SAXException(Messages.getMessage("castorValidationException00")
- + ve.getLocalizedMessage());
+ + ve.getLocation() + ": " + ve.getLocalizedMessage());
} catch (Exception exp) {
log.error(Messages.getMessage("exception00"), exp);
throw new SAXException(exp);
1.8 +1 -1 ws-axis/java/src/org/apache/axis/encoding/ser/castor/CastorSerializer.java
Index: CastorSerializer.java
===================================================================
RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/encoding/ser/castor/CastorSerializer.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- CastorSerializer.java 15 Oct 2004 14:44:34 -0000 1.7
+++ CastorSerializer.java 15 Mar 2005 22:33:36 -0000 1.8
@@ -119,7 +119,7 @@
log.error(Messages.getMessage("castorValidationException00"), ve);
throw new IOException(Messages.getMessage(
"castorValidationException00")
- + ve.getLocalizedMessage());
+ + ve.getLocation() + ": " + ve.getLocalizedMessage());
}
}