1) You're missing a } in the constructor.
2) The UnAcceptableNumberException takes only one integer, not two.
3) The AbsoluteNumberException throwing misses the () and the integer argument.
4) The class is actually called AbsoluteException
5) Where does newBig come from in getBig?
6) setBig misses the newBig parameter
7) toString() misses the return statement: return s;
8) You mistyped both JOptionPane and showMessageDialog in the exception constructors. Actually, you mistyped them EVERYWHERE.
9) The import statement has to go at the top of the file. Only the package statement, comments, whitespace and other import statements can come before import statements.
10) You haven't declared bigNo and smallNo.
11) nt is declared inside the try block, and is not available outside of it.
I haven't even looked at style or anything, this is just syntax. Seriously, please try compiling code before you post it. An
IDE such as Eclipse would have shown you all these errors and suggestions on how to fix them.