01: package JSci.maths.wavelet;
02:
03: /********************************************************
04: * This exception is used to indicate that the
05: * current chosen multiresolution is not appropriate
06: * because the number of scaling functions is incompatible
07: * (with the multiresolution).
08: * @author Daniel Lemire
09: **********************************************************/
10: public class IllegalScalingException extends IllegalArgumentException {
11: public IllegalScalingException() {
12: }
13:
14: public IllegalScalingException(String s) {
15: super (s);
16: }
17:
18: public IllegalScalingException(int n0, int min) {
19: super (
20: "The length parameter "
21: + n0
22: + " must be at least "
23: + min
24: + ". Please change the wavelet or the number of iterations.");
25: }
26:
27: }
|