xsddoc/src/net/sf/xframe/xsddoc Processor.java,1.28,1.29
Kurt Riede <[email protected]> Wed, 20 Oct 2004 15:52:10 +0000
| Newsgroups | gmane.text.xml.xframe.xsddoc.devel |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/xframe/xsddoc/src/net/sf/xframe/xsddoc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1413/src/net/sf/xframe/xsddoc
Modified Files:
Processor.java
Log Message:
unified messages when reporting exceptions to allow recognition of success or failure
Index: Processor.java
===================================================================
RCS file: /cvsroot/xframe/xsddoc/src/net/sf/xframe/xsddoc/Processor.java,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -d -r1.28 -r1.29
*** Processor.java 20 Oct 2004 12:53:49 -0000 1.28
--- Processor.java 20 Oct 2004 15:52:08 -0000 1.29
***************
*** 427,431 ****
execute();
} catch (Throwable e) {
! System.out.println("xsddoc failed with exception:" + e.getLocalizedMessage());
if (isDebug()) {
System.out.println(ExceptionUtil.printStackTrace(e));
--- 427,431 ----
execute();
} catch (Throwable e) {
! System.out.println("xsddoc failed with exception: " + e.getLocalizedMessage());
if (isDebug()) {
System.out.println(ExceptionUtil.printStackTrace(e));
***************
*** 1202,1206 ****
*/
public void warning(final TransformerException e) {
! System.out.println("warning: " + XMLUtil.getLocallizedMessageAndLocation(e));
}
--- 1202,1206 ----
*/
public void warning(final TransformerException e) {
! System.out.println("xsddoc caused a warning: " + XMLUtil.getLocallizedMessageAndLocation(e));
}
***************
*** 1212,1216 ****
*/
public void error(final TransformerException e) {
! System.out.println("error: " + XMLUtil.getLocallizedMessageAndLocation(e));
}
--- 1212,1216 ----
*/
public void error(final TransformerException e) {
! System.out.println("xsddoc caused an error: " + XMLUtil.getLocallizedMessageAndLocation(e));
}
***************
*** 1222,1226 ****
*/
public void fatalError(final TransformerException e) {
! System.out.println("fatal: " + XMLUtil.getLocallizedMessageAndLocation(e));
if (isDebug()) {
e.printStackTrace();
--- 1222,1226 ----
*/
public void fatalError(final TransformerException e) {
! System.out.println("xsddoc caused a fatal error: " + XMLUtil.getLocallizedMessageAndLocation(e));
if (isDebug()) {
e.printStackTrace();
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl