annotate NGSrich_0.5.5/src/exceptions/RangeFormatException.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 RangeFormatException extends RangeException {
89ad0a9cca52 Uploaded
pfrommolt
parents:
diff changeset
4
89ad0a9cca52 Uploaded
pfrommolt
parents:
diff changeset
5 private static final long serialVersionUID = -7603714654119196278L;
89ad0a9cca52 Uploaded
pfrommolt
parents:
diff changeset
6
89ad0a9cca52 Uploaded
pfrommolt
parents:
diff changeset
7 public RangeFormatException(){
89ad0a9cca52 Uploaded
pfrommolt
parents:
diff changeset
8 super("The range limits are misformatted.");
89ad0a9cca52 Uploaded
pfrommolt
parents:
diff changeset
9 }
89ad0a9cca52 Uploaded
pfrommolt
parents:
diff changeset
10
89ad0a9cca52 Uploaded
pfrommolt
parents:
diff changeset
11 public RangeFormatException(String message){
89ad0a9cca52 Uploaded
pfrommolt
parents:
diff changeset
12 super( message + "\n" +
89ad0a9cca52 Uploaded
pfrommolt
parents:
diff changeset
13 "The range limits are misformatted.");
89ad0a9cca52 Uploaded
pfrommolt
parents:
diff changeset
14 }
89ad0a9cca52 Uploaded
pfrommolt
parents:
diff changeset
15 }