< prev index next >
src/java.base/share/classes/java/util/EmptyStackException.java
Print this page
@@ -24,11 +24,11 @@
*/
package java.util;
/**
- * Thrown by methods in the <code>Stack</code> class to indicate
+ * Thrown by methods in the {@code Stack} class to indicate
* that the stack is empty.
*
* @author Jonathan Payne
* @see java.util.Stack
* @since 1.0
@@ -36,11 +36,11 @@
public
class EmptyStackException extends RuntimeException {
private static final long serialVersionUID = 5084686378493302095L;
/**
- * Constructs a new <code>EmptyStackException</code> with <tt>null</tt>
+ * Constructs a new {@code EmptyStackException} with {@code null}
* as its error message string.
*/
public EmptyStackException() {
}
}
< prev index next >