Coverage Report - jaggregate.internal.SequenceIndexOutOfBoundsException
 
Classes in this File Line Coverage Branch Coverage Complexity
SequenceIndexOutOfBoundsException
100%
2/2
N/A
1
 
 1  
 /*
 2  
  Copyright 2004-2008 Paul R. Holser, Jr.  All rights reserved.
 3  
  Licensed under the Academic Free License version 3.0
 4  
  */
 5  
 
 6  
 package jaggregate.internal;
 7  
 
 8  
 /**
 9  
  * Thrown to indicate a problem with an index handed to a method of a
 10  
  * {@link jaggregate.ReadOnlySequence}.
 11  
  *
 12  
  * @author <a href="mailto:pholser@alumni.rice.edu">Paul Holser</a>
 13  
  * @version $Id: SequenceIndexOutOfBoundsException.java,v 1.2 2008/03/30 03:07:11 pholser Exp $
 14  
  */
 15  
 public class SequenceIndexOutOfBoundsException extends IndexOutOfBoundsException {
 16  
     private static final long serialVersionUID = -1L;
 17  
 
 18  
     /**
 19  
      * Creates a new exception.
 20  
      *
 21  
      * @param operationIndicator an indicator of the nature of the index
 22  
      * @param index the index
 23  
      */
 24  
     public SequenceIndexOutOfBoundsException( String operationIndicator, int index ) {
 25  490
         super( operationIndicator + " index out of bounds: " + index );
 26  490
     }
 27  
 }