--- old/src/java.xml.crypto/share/classes/javax/xml/crypto/URIReferenceException.java 2015-08-18 14:21:20.241018101 +0400 +++ new/src/java.xml.crypto/share/classes/javax/xml/crypto/URIReferenceException.java 2015-08-18 14:21:20.029018111 +0400 @@ -35,8 +35,8 @@ * Indicates an exceptional condition thrown while dereferencing a * {@link URIReference}. * - *

A URIReferenceException can contain a cause: another - * throwable that caused this URIReferenceException to get thrown. + *

A {@code URIReferenceException} can contain a cause: another + * throwable that caused this {@code URIReferenceException} to get thrown. * * @author Sean Mullan * @author JSR 105 Expert Group @@ -60,15 +60,15 @@ private URIReference uriReference; /** - * Constructs a new URIReferenceException with - * null as its detail message. + * Constructs a new {@code URIReferenceException} with + * {@code null} as its detail message. */ public URIReferenceException() { super(); } /** - * Constructs a new URIReferenceException with the specified + * Constructs a new {@code URIReferenceException} with the specified * detail message. * * @param message the detail message @@ -78,14 +78,14 @@ } /** - * Constructs a new URIReferenceException with the + * Constructs a new {@code URIReferenceException} with the * specified detail message and cause. *

Note that the detail message associated with - * cause is not automatically incorporated in + * {@code cause} is not automatically incorporated in * this exception's detail message. * * @param message the detail message - * @param cause the cause (A null value is permitted, and + * @param cause the cause (A {@code null} value is permitted, and * indicates that the cause is nonexistent or unknown.) */ public URIReferenceException(String message, Throwable cause) { @@ -94,19 +94,19 @@ } /** - * Constructs a new URIReferenceException with the - * specified detail message, cause and URIReference. + * Constructs a new {@code URIReferenceException} with the + * specified detail message, cause and {@code URIReference}. *

Note that the detail message associated with - * cause is not automatically incorporated in + * {@code cause} is not automatically incorporated in * this exception's detail message. * * @param message the detail message - * @param cause the cause (A null value is permitted, and + * @param cause the cause (A {@code null} value is permitted, and * indicates that the cause is nonexistent or unknown.) - * @param uriReference the URIReference that was being + * @param uriReference the {@code URIReference} that was being * dereferenced when the error was encountered - * @throws NullPointerException if uriReference is - * null + * @throws NullPointerException if {@code uriReference} is + * {@code null} */ public URIReferenceException(String message, Throwable cause, URIReference uriReference) { @@ -118,12 +118,12 @@ } /** - * Constructs a new URIReferenceException with the specified - * cause and a detail message of (cause==null ? null : - * cause.toString()) (which typically contains the class and detail - * message of cause). + * Constructs a new {@code URIReferenceException} with the specified + * cause and a detail message of {@code (cause==null ? null : + * cause.toString())} (which typically contains the class and detail + * message of {@code cause}). * - * @param cause the cause (A null value is permitted, and + * @param cause the cause (A {@code null} value is permitted, and * indicates that the cause is nonexistent or unknown.) */ public URIReferenceException(Throwable cause) { @@ -132,31 +132,31 @@ } /** - * Returns the URIReference that was being dereferenced + * Returns the {@code URIReference} that was being dereferenced * when the exception was thrown. * - * @return the URIReference that was being dereferenced - * when the exception was thrown, or null if not specified + * @return the {@code URIReference} that was being dereferenced + * when the exception was thrown, or {@code null} if not specified */ public URIReference getURIReference() { return uriReference; } /** - * Returns the cause of this URIReferenceException or - * null if the cause is nonexistent or unknown. (The + * Returns the cause of this {@code URIReferenceException} or + * {@code null} if the cause is nonexistent or unknown. (The * cause is the throwable that caused this - * URIReferenceException to get thrown.) + * {@code URIReferenceException} to get thrown.) * - * @return the cause of this URIReferenceException or - * null if the cause is nonexistent or unknown. + * @return the cause of this {@code URIReferenceException} or + * {@code null} if the cause is nonexistent or unknown. */ public Throwable getCause() { return cause; } /** - * Prints this URIReferenceException, its backtrace and + * Prints this {@code URIReferenceException}, its backtrace and * the cause's backtrace to the standard error stream. */ public void printStackTrace() { @@ -165,10 +165,10 @@ } /** - * Prints this URIReferenceException, its backtrace and + * Prints this {@code URIReferenceException}, its backtrace and * the cause's backtrace to the specified print stream. * - * @param s PrintStream to use for output + * @param s {@code PrintStream} to use for output */ public void printStackTrace(PrintStream s) { super.printStackTrace(s); @@ -176,10 +176,10 @@ } /** - * Prints this URIReferenceException, its backtrace and + * Prints this {@code URIReferenceException}, its backtrace and * the cause's backtrace to the specified print writer. * - * @param s PrintWriter to use for output + * @param s {@code PrintWriter} to use for output */ public void printStackTrace(PrintWriter s) { super.printStackTrace(s);