--- old/src/java.xml.crypto/share/classes/javax/xml/crypto/NoSuchMechanismException.java 2015-08-18 14:21:19.693018126 +0400 +++ new/src/java.xml.crypto/share/classes/javax/xml/crypto/NoSuchMechanismException.java 2015-08-18 14:21:19.477018136 +0400 @@ -39,8 +39,8 @@ * This exception is thrown when a particular XML mechanism is requested but * is not available in the environment. * - *

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

A {@code NoSuchMechanismException} can contain a cause: another + * throwable that caused this {@code NoSuchMechanismException} to get * thrown. * * @author Sean Mullan @@ -63,15 +63,15 @@ private Throwable cause; /** - * Constructs a new NoSuchMechanismException with - * null as its detail message. + * Constructs a new {@code NoSuchMechanismException} with + * {@code null} as its detail message. */ public NoSuchMechanismException() { super(); } /** - * Constructs a new NoSuchMechanismException with the + * Constructs a new {@code NoSuchMechanismException} with the * specified detail message. * * @param message the detail message @@ -81,14 +81,14 @@ } /** - * Constructs a new NoSuchMechanismException with the + * Constructs a new {@code NoSuchMechanismException} 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 NoSuchMechanismException(String message, Throwable cause) { @@ -97,12 +97,12 @@ } /** - * Constructs a new NoSuchMechanismException with the + * Constructs a new {@code NoSuchMechanismException} with the * specified cause and a detail message of - * (cause==null ? null : cause.toString()) (which typically - * contains the class and detail message of cause). + * {@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 NoSuchMechanismException(Throwable cause) { @@ -111,20 +111,20 @@ } /** - * Returns the cause of this NoSuchMechanismException or - * null if the cause is nonexistent or unknown. (The + * Returns the cause of this {@code NoSuchMechanismException} or + * {@code null} if the cause is nonexistent or unknown. (The * cause is the throwable that caused this - * NoSuchMechanismException to get thrown.) + * {@code NoSuchMechanismException} to get thrown.) * - * @return the cause of this NoSuchMechanismException or - * null if the cause is nonexistent or unknown. + * @return the cause of this {@code NoSuchMechanismException} or + * {@code null} if the cause is nonexistent or unknown. */ public Throwable getCause() { return cause; } /** - * Prints this NoSuchMechanismException, its backtrace and + * Prints this {@code NoSuchMechanismException}, its backtrace and * the cause's backtrace to the standard error stream. */ public void printStackTrace() { @@ -133,10 +133,10 @@ } /** - * Prints this NoSuchMechanismException, its backtrace and + * Prints this {@code NoSuchMechanismException}, 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); @@ -144,10 +144,10 @@ } /** - * Prints this NoSuchMechanismException, its backtrace and + * Prints this {@code NoSuchMechanismException}, 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);