Last change
on this file since 4 was 4, checked in by davidb, 16 years ago |
Starting source code to Expeditee
|
File size:
382 bytes
|
Line | |
---|
1 | package org.expeditee.simple;
|
---|
2 |
|
---|
3 | public class IncorrectTypeException extends RuntimeException {
|
---|
4 | static final long serialVersionUID = -7034897190745766939L;
|
---|
5 |
|
---|
6 | public IncorrectTypeException(String type, int no) {
|
---|
7 | super("Expected param " + no + " to be " + type);
|
---|
8 | }
|
---|
9 |
|
---|
10 | public IncorrectTypeException(String var, String type) {
|
---|
11 | super("Expected param " + var + " to be " + type);
|
---|
12 | }
|
---|
13 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.