try { obj := ComObjCreate("ScriptControl") obj.ExecuteStatement("MsgBox ""내장 VBScript""") obj.InvalidMethod() ; 런타임 에러를 발생시킴 } catch e { ; For more detail about the object that e contains, see Catch. MsgBox, 16,, % "Exception이 throw되었습니다!`n`nwhat: " e.what "`nfile: " e.file . "`nline: " e.line "`nmessage: " e.message "`nextra: " e.extra }