Added syntax tree property to CodeGeneratorException.

Added syntax tree property to CodeGeneratorException.