view NGSrich_0.5.5/src/exceptions/NullOrNegativeRangeException.java @ 0:89ad0a9cca52 default tip

Uploaded
author pfrommolt
date Mon, 21 Nov 2011 08:12:19 -0500
parents
children
line wrap: on
line source

package exceptions;

public class NullOrNegativeRangeException extends RangeException {

	private static final long serialVersionUID = 1L;

	public NullOrNegativeRangeException(){
		super("The start position is bigger than or equal to the end position.");
	}
	
	public NullOrNegativeRangeException(String message){
		super(	message + "\n" +
				"The start position is bigger than or equal to the end position.");
	}
	
}