Mercurial > repos > pfrommolt > ngsrich
annotate 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 |
| rev | line source |
|---|---|
| 0 | 1 package exceptions; |
| 2 | |
| 3 public class NullOrNegativeRangeException extends RangeException { | |
| 4 | |
| 5 private static final long serialVersionUID = 1L; | |
| 6 | |
| 7 public NullOrNegativeRangeException(){ | |
| 8 super("The start position is bigger than or equal to the end position."); | |
| 9 } | |
| 10 | |
| 11 public NullOrNegativeRangeException(String message){ | |
| 12 super( message + "\n" + | |
| 13 "The start position is bigger than or equal to the end position."); | |
| 14 } | |
| 15 | |
| 16 } |
