Mercurial > repos > pfrommolt > ngsrich
diff 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 diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/NGSrich_0.5.5/src/exceptions/NullOrNegativeRangeException.java Mon Nov 21 08:12:19 2011 -0500 @@ -0,0 +1,16 @@ +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."); + } + +}