Now it displays the exception in the windows.