title: try catch block to display Error message
body: <p>I have a doubt about <code>Try</code> <code>Catch</code> blocks.
  If I get an error in <code>Try</code> block then it will redirect to <code>Catch</code> block as per to the rule. So can I set visible = true to  my label into <strong>catch block</strong>. </p>
  
  <p>i.e <code>lblError.visible=true;</code> </p>
  
  <p>Is it correct as per coding standards? I am new to developing.</p>