--- old/src/java.naming/share/classes/javax/naming/event/NamingExceptionEvent.java 2015-08-04 13:14:48.232900699 +0300 +++ new/src/java.naming/share/classes/javax/naming/event/NamingExceptionEvent.java 2015-08-04 13:14:47.756900688 +0300 @@ -30,9 +30,9 @@ /** * This class represents an event fired when the procedures/processes * used to collect information for notifying listeners of - * NamingEvents threw a NamingException. + * {@code NamingEvent}s threw a {@code NamingException}. * This can happen, for example, if the server which the listener is using - * aborts subsequent to the addNamingListener() call. + * aborts subsequent to the {@code addNamingListener()} call. * * @author Rosanna Lee * @author Scott Seligman @@ -50,12 +50,12 @@ private NamingException exception; /** - * Constructs an instance of NamingExceptionEvent using - * the context in which the NamingException was thrown and the exception + * Constructs an instance of {@code NamingExceptionEvent} using + * the context in which the {@code NamingException} was thrown and the exception * that was thrown. * * @param source The non-null context in which the exception was thrown. - * @param exc The non-null NamingException that was thrown. + * @param exc The non-null {@code NamingException} that was thrown. * */ public NamingExceptionEvent(EventContext source, NamingException exc) { @@ -72,16 +72,16 @@ } /** - * Retrieves the EventContext that fired this event. - * This returns the same object as EventObject.getSource(). - * @return The non-null EventContext that fired this event. + * Retrieves the {@code EventContext} that fired this event. + * This returns the same object as {@code EventObject.getSource()}. + * @return The non-null {@code EventContext} that fired this event. */ public EventContext getEventContext() { return (EventContext)getSource(); } /** - * Invokes the namingExceptionThrown() method on + * Invokes the {@code namingExceptionThrown()} method on * a listener using this event. * @param listener The non-null naming listener on which to invoke * the method.