14 lines
351 B
Java
14 lines
351 B
Java
package net.datastructures;
|
|
//begin#fragment FullStackException
|
|
/**
|
|
* Runtime exception thrown when the capacity of the array used by an
|
|
* ArrayStack has been exceeded.
|
|
* @see ArrayStack
|
|
*/
|
|
public class FullStackException extends RuntimeException {
|
|
public FullStackException(String err) {
|
|
super(err);
|
|
}
|
|
}
|
|
//end#fragment FullStackException
|