jaxp/src/javax/xml/xpath/XPathException.java
author dmeetry
Thu, 06 Jun 2013 20:40:43 +0400
changeset 18351 e827e84fc265
parent 12457 c348e06f0e82
child 22139 f4b2aa462b46
permissions -rw-r--r--
8009579: Xpathexception does not honor initcause() Reviewed-by: alanb, dholmes, joehw Contributed-by: aleksej.efimov@oracle.com
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
12005
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
     1
/*
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
     2
 * Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved.
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
     4
 *
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
     7
 * published by the Free Software Foundation.  Oracle designates this
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
     8
 * particular file as subject to the "Classpath" exception as provided
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
     9
 * by Oracle in the LICENSE file that accompanied this code.
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    10
 *
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    11
 * This code is distributed in the hope that it will be useful, but WITHOUT
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    12
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    13
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    14
 * version 2 for more details (a copy is included in the LICENSE file that
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    15
 * accompanied this code).
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    16
 *
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    17
 * You should have received a copy of the GNU General Public License version
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    18
 * 2 along with this work; if not, write to the Free Software Foundation,
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    19
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    20
 *
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    21
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    22
 * or visit www.oracle.com if you need additional information or have any
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    23
 * questions.
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    24
 */
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    25
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    26
package javax.xml.xpath;
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    27
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    28
import java.io.PrintWriter;
18351
e827e84fc265 8009579: Xpathexception does not honor initcause()
dmeetry
parents: 12457
diff changeset
    29
import java.io.IOException;
e827e84fc265 8009579: Xpathexception does not honor initcause()
dmeetry
parents: 12457
diff changeset
    30
import java.io.ObjectInputStream;
e827e84fc265 8009579: Xpathexception does not honor initcause()
dmeetry
parents: 12457
diff changeset
    31
import java.io.ObjectOutputStream;
e827e84fc265 8009579: Xpathexception does not honor initcause()
dmeetry
parents: 12457
diff changeset
    32
import java.io.ObjectStreamField;
e827e84fc265 8009579: Xpathexception does not honor initcause()
dmeetry
parents: 12457
diff changeset
    33
import java.io.InvalidClassException;
12005
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    34
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    35
/**
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    36
 * <code>XPathException</code> represents a generic XPath exception.</p>
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    37
 *
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    38
 * @author  <a href="Norman.Walsh@Sun.com">Norman Walsh</a>
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    39
 * @author <a href="mailto:Jeff.Suttor@Sun.COM">Jeff Suttor</a>
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    40
 * @since 1.5
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    41
 */
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    42
public class XPathException extends Exception {
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    43
18351
e827e84fc265 8009579: Xpathexception does not honor initcause()
dmeetry
parents: 12457
diff changeset
    44
    private static final ObjectStreamField[] serialPersistentFields = {
e827e84fc265 8009579: Xpathexception does not honor initcause()
dmeetry
parents: 12457
diff changeset
    45
        new ObjectStreamField( "cause", Throwable.class )
e827e84fc265 8009579: Xpathexception does not honor initcause()
dmeetry
parents: 12457
diff changeset
    46
    };
12005
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    47
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    48
    /**
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    49
     * <p>Stream Unique Identifier.</p>
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    50
     */
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    51
    private static final long serialVersionUID = -1837080260374986980L;
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    52
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    53
    /**
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    54
     * <p>Constructs a new <code>XPathException</code>
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    55
     * with the specified detail <code>message</code>.</p>
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    56
     *
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    57
     * <p>The <code>cause</code> is not initialized.</p>
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    58
     *
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    59
     * <p>If <code>message</code> is <code>null</code>,
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    60
     * then a <code>NullPointerException</code> is thrown.</p>
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    61
     *
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    62
     * @param message The detail message.
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    63
     *
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    64
     * @throws NullPointerException When <code>message</code> is
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    65
     *   <code>null</code>.
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    66
     */
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    67
    public XPathException(String message) {
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    68
        super(message);
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    69
        if ( message == null ) {
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    70
            throw new NullPointerException ( "message can't be null");
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    71
        }
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    72
    }
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    73
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    74
    /**
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    75
     * <p>Constructs a new <code>XPathException</code>
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    76
     * with the specified <code>cause</code>.</p>
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    77
     *
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    78
     * <p>If <code>cause</code> is <code>null</code>,
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    79
     * then a <code>NullPointerException</code> is thrown.</p>
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    80
     *
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    81
     * @param cause The cause.
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    82
     *
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    83
     * @throws NullPointerException if <code>cause</code> is <code>null</code>.
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    84
     */
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    85
    public XPathException(Throwable cause) {
18351
e827e84fc265 8009579: Xpathexception does not honor initcause()
dmeetry
parents: 12457
diff changeset
    86
        super(cause);
12005
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    87
        if ( cause == null ) {
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    88
            throw new NullPointerException ( "cause can't be null");
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    89
        }
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    90
    }
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    91
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    92
    /**
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    93
     * <p>Get the cause of this XPathException.</p>
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    94
     *
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    95
     * @return Cause of this XPathException.
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    96
     */
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
    97
    public Throwable getCause() {
18351
e827e84fc265 8009579: Xpathexception does not honor initcause()
dmeetry
parents: 12457
diff changeset
    98
        return super.getCause();
e827e84fc265 8009579: Xpathexception does not honor initcause()
dmeetry
parents: 12457
diff changeset
    99
    }
e827e84fc265 8009579: Xpathexception does not honor initcause()
dmeetry
parents: 12457
diff changeset
   100
e827e84fc265 8009579: Xpathexception does not honor initcause()
dmeetry
parents: 12457
diff changeset
   101
    /**
e827e84fc265 8009579: Xpathexception does not honor initcause()
dmeetry
parents: 12457
diff changeset
   102
     * Writes "cause" field to the stream.
e827e84fc265 8009579: Xpathexception does not honor initcause()
dmeetry
parents: 12457
diff changeset
   103
     * The cause is got from the parent class.
e827e84fc265 8009579: Xpathexception does not honor initcause()
dmeetry
parents: 12457
diff changeset
   104
     *
e827e84fc265 8009579: Xpathexception does not honor initcause()
dmeetry
parents: 12457
diff changeset
   105
     * @param out stream used for serialization.
e827e84fc265 8009579: Xpathexception does not honor initcause()
dmeetry
parents: 12457
diff changeset
   106
     * @throws IOException thrown by <code>ObjectOutputStream</code>
e827e84fc265 8009579: Xpathexception does not honor initcause()
dmeetry
parents: 12457
diff changeset
   107
     *
e827e84fc265 8009579: Xpathexception does not honor initcause()
dmeetry
parents: 12457
diff changeset
   108
     */
e827e84fc265 8009579: Xpathexception does not honor initcause()
dmeetry
parents: 12457
diff changeset
   109
    private void writeObject(ObjectOutputStream out)
e827e84fc265 8009579: Xpathexception does not honor initcause()
dmeetry
parents: 12457
diff changeset
   110
            throws IOException
e827e84fc265 8009579: Xpathexception does not honor initcause()
dmeetry
parents: 12457
diff changeset
   111
    {
e827e84fc265 8009579: Xpathexception does not honor initcause()
dmeetry
parents: 12457
diff changeset
   112
        ObjectOutputStream.PutField fields = out.putFields();
e827e84fc265 8009579: Xpathexception does not honor initcause()
dmeetry
parents: 12457
diff changeset
   113
        fields.put("cause", (Throwable) super.getCause());
e827e84fc265 8009579: Xpathexception does not honor initcause()
dmeetry
parents: 12457
diff changeset
   114
        out.writeFields();
e827e84fc265 8009579: Xpathexception does not honor initcause()
dmeetry
parents: 12457
diff changeset
   115
    }
e827e84fc265 8009579: Xpathexception does not honor initcause()
dmeetry
parents: 12457
diff changeset
   116
e827e84fc265 8009579: Xpathexception does not honor initcause()
dmeetry
parents: 12457
diff changeset
   117
    /**
e827e84fc265 8009579: Xpathexception does not honor initcause()
dmeetry
parents: 12457
diff changeset
   118
     * Reads the "cause" field from the stream.
e827e84fc265 8009579: Xpathexception does not honor initcause()
dmeetry
parents: 12457
diff changeset
   119
     * And initializes the "cause" if it wasn't
e827e84fc265 8009579: Xpathexception does not honor initcause()
dmeetry
parents: 12457
diff changeset
   120
     * done before.
e827e84fc265 8009579: Xpathexception does not honor initcause()
dmeetry
parents: 12457
diff changeset
   121
     *
e827e84fc265 8009579: Xpathexception does not honor initcause()
dmeetry
parents: 12457
diff changeset
   122
     * @param in stream used for deserialization
e827e84fc265 8009579: Xpathexception does not honor initcause()
dmeetry
parents: 12457
diff changeset
   123
     * @throws IOException thrown by <code>ObjectInputStream</code>
e827e84fc265 8009579: Xpathexception does not honor initcause()
dmeetry
parents: 12457
diff changeset
   124
     * @throws ClassNotFoundException  thrown by <code>ObjectInputStream</code>
e827e84fc265 8009579: Xpathexception does not honor initcause()
dmeetry
parents: 12457
diff changeset
   125
     */
e827e84fc265 8009579: Xpathexception does not honor initcause()
dmeetry
parents: 12457
diff changeset
   126
    private void readObject(ObjectInputStream in)
e827e84fc265 8009579: Xpathexception does not honor initcause()
dmeetry
parents: 12457
diff changeset
   127
            throws IOException, ClassNotFoundException
e827e84fc265 8009579: Xpathexception does not honor initcause()
dmeetry
parents: 12457
diff changeset
   128
    {
e827e84fc265 8009579: Xpathexception does not honor initcause()
dmeetry
parents: 12457
diff changeset
   129
        ObjectInputStream.GetField fields = in.readFields();
e827e84fc265 8009579: Xpathexception does not honor initcause()
dmeetry
parents: 12457
diff changeset
   130
        Throwable scause = (Throwable) fields.get("cause", null);
e827e84fc265 8009579: Xpathexception does not honor initcause()
dmeetry
parents: 12457
diff changeset
   131
e827e84fc265 8009579: Xpathexception does not honor initcause()
dmeetry
parents: 12457
diff changeset
   132
        if (super.getCause() == null && scause != null) {
e827e84fc265 8009579: Xpathexception does not honor initcause()
dmeetry
parents: 12457
diff changeset
   133
            try {
e827e84fc265 8009579: Xpathexception does not honor initcause()
dmeetry
parents: 12457
diff changeset
   134
                super.initCause(scause);
e827e84fc265 8009579: Xpathexception does not honor initcause()
dmeetry
parents: 12457
diff changeset
   135
            } catch(IllegalStateException e) {
e827e84fc265 8009579: Xpathexception does not honor initcause()
dmeetry
parents: 12457
diff changeset
   136
                throw new InvalidClassException("Inconsistent state: two causes");
e827e84fc265 8009579: Xpathexception does not honor initcause()
dmeetry
parents: 12457
diff changeset
   137
            }
e827e84fc265 8009579: Xpathexception does not honor initcause()
dmeetry
parents: 12457
diff changeset
   138
        }
12005
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
   139
    }
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
   140
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
   141
    /**
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
   142
     * <p>Print stack trace to specified <code>PrintStream</code>.</p>
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
   143
     *
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
   144
     * @param s Print stack trace to this <code>PrintStream</code>.
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
   145
     */
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
   146
    public void printStackTrace(java.io.PrintStream s) {
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
   147
        if (getCause() != null) {
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
   148
            getCause().printStackTrace(s);
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
   149
          s.println("--------------- linked to ------------------");
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
   150
        }
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
   151
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
   152
        super.printStackTrace(s);
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
   153
    }
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
   154
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
   155
    /**
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
   156
     * <p>Print stack trace to <code>System.err</code>.</p>
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
   157
     */
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
   158
    public void printStackTrace() {
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
   159
        printStackTrace(System.err);
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
   160
    }
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
   161
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
   162
    /**
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
   163
     * <p>Print stack trace to specified <code>PrintWriter</code>.</p>
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
   164
     *
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
   165
     * @param s Print stack trace to this <code>PrintWriter</code>.
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
   166
     */
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
   167
    public void printStackTrace(PrintWriter s) {
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
   168
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
   169
        if (getCause() != null) {
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
   170
            getCause().printStackTrace(s);
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
   171
          s.println("--------------- linked to ------------------");
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
   172
        }
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
   173
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
   174
        super.printStackTrace(s);
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
   175
    }
a754d69d5e60 7150324: Stop using drop bundles in jaxp
ohair
parents:
diff changeset
   176
}