/**
 * Thrown by methods in implementations of the Vector and
 * List interfaces when a rank or position outside the 
 * range of the structure is accessed.
 * 
 * @version     1.4   March 1, 2001
 * @author      Franck van Breugel
 */
public class BoundaryViolationException extends RuntimeException 
{
    /** 
     * Constructs a BoundaryViolationException without error message.
     */
    public BoundaryViolationException() 
    {
        super();
    }

    /** 
     * Constructs a BoundaryViolationException with the specified error message.
     * @param errorMessage Error message.
     */
    public BoundaryViolationException(String errorMessage) 
    {
        super(errorMessage);
    }
}
