1:
2: import java.util.Scanner;
3:
4: public class Question22
5: {
6: public static void main(String[] args)
7: {
8: IntException e = new IntException(42);
9: System.out.println(e.getNumber( ));
10: System.out.println(e.getMessage( ));
11: }
12: }