As Mark says, please specify the compile error: We do not always have time to compile your code for you. However, since you are dealing with checked exceptions
you should analyse your code to see whether both exceptions could actually be thrown. No BlueExceptions are declared to be thrown by the method m1, for example.
[ August 30, 2005: Message edited by: Barry Gaunt ]