Why does a try block affect drupal_set_message? I have a try block set up:

try {
//some code
throw new Exception ( 'My exception message' );
}
catch ( Exception $e ) 
drupal_set_message('Caught exception: '. $e-&gt;getMessage(),1);}




But instead of using 'status', 'warning' or 'error' I used an integer and get a greyish looking message box. Are there any other "hidden" drupal_set_message options? Thx
The second argument of drupal_set_message() should be a string. This string is just added as a class around the message. It an be anything you want.