/*
 * $Header$
 * $Revision: 318 $
 * $Date: 2003-06-29 11:15:15 -0700 (Sun, 29 Jun 2003) $
 *
 * ====================================================================
 *
 * Copyright (C) 2000-2002 bob mcwhirter & James Strachan.
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 * 
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions, and the following disclaimer.
 *
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions, and the disclaimer that follows 
 *    these conditions in the documentation and/or other materials 
 *    provided with the distribution.
 *
 * 3. The name "Jaxen" must not be used to endorse or promote products
 *    derived from this software without prior written permission.  For
 *    written permission, please contact license@jaxen.org.
 * 
 * 4. Products derived from this software may not be called "Jaxen", nor
 *    may "Jaxen" appear in their name, without prior written permission
 *    from the Jaxen Project Management (pm@jaxen.org).
 * 
 * In addition, we request (but do not require) that you include in the 
 * end-user documentation provided with the redistribution and/or in the 
 * software itself an acknowledgement equivalent to the following:
 *     "This product includes software developed by the
 *      Jaxen Project (http://www.jaxen.org/)."
 * Alternatively, the acknowledgment may be graphical using the logos 
 * available at http://www.jaxen.org/
 *
 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
 * DISCLAIMED.  IN NO EVENT SHALL THE Jaxen AUTHORS OR THE PROJECT
 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
 * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 * SUCH DAMAGE.
 *
 * ====================================================================
 * This software consists of voluntary contributions made by many 
 * individuals on behalf of the Jaxen Project and was originally 
 * created by bob mcwhirter <bob@werken.com> and 
 * James Strachan <jstrachan@apache.org>.  For more information on the 
 * Jaxen Project, please see <http://www.jaxen.org/>.
 * 
 * $Id: JaxenException.java 318 2003-06-29 18:15:15Z ssanders $
 */


package org.jaxen;



/** Generic Jaxen exception.
 *
 *  <p>
 *  This is the root of all Jaxen exceptions.
 *  It may wrap other exceptions.  See {@link #getRootCause}.
 *
 *  @author <a href="mailto:bob@werken.com">bob mcwhirter</a>
 */
public class JaxenException extends org.jaxen.saxpath.SAXPathException
{
    /** Root cause, if any. */
    private Throwable rootCause;

    /** Construct with a message.
     *
     *  @param message The error message.
     */
    public JaxenException(String message)
    {
        super( message );
    }

    /** Construct with a root cause.
     *
     *  @param rootCause Root cause of the error.
     */
    public JaxenException(Throwable rootCause)
    {
        super( "wrapped exception" );
        this.rootCause = rootCause;
    }

    /** Retrieve the root cause, if any.
     *
     *  @return Root cause of the error.
     */
    public Throwable getRootCause()
    {
        return this.rootCause;
    }
}


@@ -23,18 +23,18 @@
 ision: 3
-18
+67
  $%0A * $D
@@ -45,32 +45,32 @@
  200
-3-06-29 11:15:15
+4-07-05 13:22:01
  -0700 (
 Sun,
@@ -69,24 +69,24 @@
 00 (
-Sun, 29 Jun
+Mon, 05 Jul
  200
-3
+4
 ) $%0A
@@ -2827,40 +2827,38 @@
 va 3
-18
+67
  200
-3-06-29 18:15:15Z ssanders
+4-07-05 20:22:01Z proyal
  $%0A 
@@ -2887,12 +2887,14 @@
 ;%0A%0A%0A
-%0A
 /**
+%0A *
  Gen
@@ -2924,17 +2924,12 @@
 *%0A *
- 
  %3Cp%3E
-%0A * 
  Thi
@@ -2966,20 +2966,16 @@
 eptions.
-%0A * 
  It may 
@@ -3000,43 +3000,14 @@
 ons.
-  See %7B@link #getRootCause%7D.
 %0A *%0A *
- 
  @au
@@ -3149,72 +3149,14 @@
  /**
- Root cause, if any. */%0A    private Throwable rootCause;%0A%0A    /*
+%0A     
 * Co
@@ -3184,33 +3184,32 @@
 e.%0A     *%0A     *
- 
  @param message 
@@ -3261,16 +3261,17 @@
 ception(
+ 
 String m
@@ -3276,16 +3276,17 @@
  message
+ 
 )%0A    %7B%0A
@@ -3325,16 +3325,23 @@
 %0A    /**
+%0A     *
  Constru
@@ -3375,17 +3375,16 @@
 *%0A     *
- 
  @param 
@@ -3452,16 +3452,17 @@
 ception(
+ 
 Throwabl
@@ -3472,16 +3472,17 @@
 ootCause
+ 
 )%0A    %7B%0A
@@ -3500,233 +3500,8 @@
 er( 
-%22wrapped exception%22 );%0A        this.rootCause = rootCause;%0A    %7D%0A%0A    /** Retrieve the root cause, if any.%0A     *%0A     *  @return Root cause of the error.%0A     */%0A    public Throwable getRootCause()%0A    %7B%0A        return this.
 root
@@ -3505,16 +3505,18 @@
 ootCause
+ )
 ;%0A    %7D%0A

Change to used nested exception of parent class