src/share/jaxws_classes/javax/xml/bind/TypeConstraintException.java

changeset 408
b0610cd08440
parent 397
b99d7e355d4b
child 449
bd943bdbce05
equal deleted inserted replaced
405:cc682329886b 408:b0610cd08440
55 55
56 /** 56 /**
57 * Exception reference 57 * Exception reference
58 * 58 *
59 */ 59 */
60 private Throwable linkedException; 60 private volatile Throwable linkedException;
61 61
62 62
63 /** 63 /**
64 * Construct a TypeConstraintException with the specified detail message. The 64 * Construct a TypeConstraintException with the specified detail message. The
65 * errorCode and linkedException will default to null. 65 * errorCode and linkedException will default to null.
139 * 139 *
140 * @param exception the linked Exception (A null value is permitted and 140 * @param exception the linked Exception (A null value is permitted and
141 * indicates that the linked exception does not exist or 141 * indicates that the linked exception does not exist or
142 * is unknown). 142 * is unknown).
143 */ 143 */
144 public synchronized void setLinkedException( Throwable exception ) { 144 public void setLinkedException( Throwable exception ) {
145 this.linkedException = exception; 145 this.linkedException = exception;
146 } 146 }
147 147
148 /** 148 /**
149 * Returns a short description of this TypeConstraintException. 149 * Returns a short description of this TypeConstraintException.

mercurial