KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > JSci > maths > wavelet > IllegalScalingException


1 package JSci.maths.wavelet;
2
3 /********************************************************
4 * This exception is used to indicate that the
5 * current chosen multiresolution is not appropriate
6 * because the number of scaling functions is incompatible
7 * (with the multiresolution).
8 * @author Daniel Lemire
9 **********************************************************/

10 public class IllegalScalingException extends IllegalArgumentException JavaDoc {
11     public IllegalScalingException () {}
12     public IllegalScalingException (String JavaDoc s) {super(s);}
13     public IllegalScalingException (int n0,int min) {
14         super("The length parameter "+n0+" must be at least "+min+". Please change the wavelet or the number of iterations.");
15     }
16
17 }
18
Popular Tags