Update of /cvsroot/xdoclet/xdoclet2/core/src/java/xdoclet
In directory sc8-pr-cvs1:/tmp/cvs-serv18228/core/src/java/xdoclet

Modified Files:
        XDocletException.java 
Log Message:
Woops.

Index: XDocletException.java
===================================================================
RCS file: /cvsroot/xdoclet/xdoclet2/core/src/java/xdoclet/XDocletException.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** XDocletException.java       22 Nov 2002 14:30:40 -0000      1.3
--- XDocletException.java       22 Nov 2002 14:32:25 -0000      1.4
***************
*** 28,32 ****
       * The root exception and the detailed message are null.
       */
!     public XDocletException() {
          super();
      }
--- 28,33 ----
       * The root exception and the detailed message are null.
       */
!     public XDocletException()
!     {
          super();
      }
***************
*** 37,41 ****
       * @param s String message indicating the problem that occurred.
       */
!     public XDocletException(String s) {
          super(s);
      }
--- 38,43 ----
       * @param s String message indicating the problem that occurred.
       */
!     public XDocletException(String s)
!     {
          super(s);
      }
***************
*** 48,52 ****
       * @param cause Throwable that caused this to be thrown.
       */
!     public XDocletException(String s, Throwable cause) {
          super(s + (s != null && !s.equals(cause.getMessage()) ? ": " + 
cause.getMessage() : ""));
          this.cause = cause;
--- 50,55 ----
       * @param cause Throwable that caused this to be thrown.
       */
!     public XDocletException(String s, Throwable cause)
!     {
          super(s + (s != null && !s.equals(cause.getMessage()) ? ": " + 
cause.getMessage() : ""));
          this.cause = cause;
***************
*** 58,63 ****
       * @returns the wrapped Throwable
       */
!     public Throwable getCause() {
!         return cause;
      }
  
--- 61,67 ----
       * @returns the wrapped Throwable
       */
!     public Throwable getCause()
!     {
!         return (cause == this ? null : cause);
      }
  
***************
*** 66,73 ****
       * the stack trace of the root Exception is printed right after.
       */
!     public void printStackTrace() {
          super.printStackTrace();
          if (cause != null) {
!             synchronized(System.err) {
                  System.err.println("\nRoot cause: ");
                  cause.printStackTrace();
--- 70,78 ----
       * the stack trace of the root Exception is printed right after.
       */
!     public void printStackTrace()
!     {
          super.printStackTrace();
          if (cause != null) {
!             synchronized (System.err) {
                  System.err.println("\nRoot cause: ");
                  cause.printStackTrace();
***************
*** 81,88 ****
       * printed right after.
       */
!     public void printStackTrace(PrintStream s) {
          super.printStackTrace(s);
          if (cause != null) {
!             synchronized(s) {
                  s.println("\nRoot cause: ");
                  cause.printStackTrace(s);
--- 86,94 ----
       * printed right after.
       */
!     public void printStackTrace(PrintStream s)
!     {
          super.printStackTrace(s);
          if (cause != null) {
!             synchronized (s) {
                  s.println("\nRoot cause: ");
                  cause.printStackTrace(s);
***************
*** 96,103 ****
       * printed right after.
       */
!     public void printStackTrace(PrintWriter s) {
          super.printStackTrace(s);
          if (cause != null) {
!             synchronized(s) {
                  s.println("\nRoot cause: ");
                  cause.printStackTrace(s);
--- 102,110 ----
       * printed right after.
       */
!     public void printStackTrace(PrintWriter s)
!     {
          super.printStackTrace(s);
          if (cause != null) {
!             synchronized (s) {
                  s.println("\nRoot cause: ");
                  cause.printStackTrace(s);



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to