Please indent here.
And it is better to put semicolon at the end:

def asm = 
  try
  {
    ...
  }
  catch
  {
    ...
  };