exception handling shows the error