
int Divide(int a,int b)...{
return a/b;
}
}
class MyExceptionTest...{
public static void main(String[] args)...{
MyException exception=new MyException();
try...{
exception.Divide(12,0);
}catch(Exception e)...{
System.out.println(e.getMessage());
}
}
}



