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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
89ad0a9cca52 Uploaded
pfrommolt
parents:
diff changeset
1 package exceptions;
89ad0a9cca52 Uploaded
pfrommolt
parents:
diff changeset
2
89ad0a9cca52 Uploaded
pfrommolt
parents:
diff changeset
3 public class NullOrNegativeRangeException extends RangeException {
89ad0a9cca52 Uploaded
pfrommolt
parents:
diff changeset
4
89ad0a9cca52 Uploaded
pfrommolt
parents:
diff changeset
5 private static final long serialVersionUID = 1L;
89ad0a9cca52 Uploaded
pfrommolt
parents:
diff changeset
6
89ad0a9cca52 Uploaded
pfrommolt
parents:
diff changeset
7 public NullOrNegativeRangeException(){
89ad0a9cca52 Uploaded
pfrommolt
parents:
diff changeset
8 super("The start position is bigger than or equal to the end position.");
89ad0a9cca52 Uploaded
pfrommolt
parents:
diff changeset
9 }
89ad0a9cca52 Uploaded
pfrommolt
parents:
diff changeset
10
89ad0a9cca52 Uploaded
pfrommolt
parents:
diff changeset
11 public NullOrNegativeRangeException(String message){
89ad0a9cca52 Uploaded
pfrommolt
parents:
diff changeset
12 super( message + "\n" +
89ad0a9cca52 Uploaded
pfrommolt
parents:
diff changeset
13 "The start position is bigger than or equal to the end position.");
89ad0a9cca52 Uploaded
pfrommolt
parents:
diff changeset
14 }
89ad0a9cca52 Uploaded
pfrommolt
parents:
diff changeset
15
89ad0a9cca52 Uploaded
pfrommolt
parents:
diff changeset
16 }