thrownAt Property

Class: Error

Description

This property identifies the runtime routine location at which the exception was encountered.

Syntax

Error.thrownAt

Returns

The location in the routine where the exception occurred.

When Became Available

v6.0

Example

catch Error {

      set ET=Error.type

      set CONTEXT=Error.context

      if ET["%GTM" do ZE^UTLERR quit

      set RM=Error.description

      set ET=ET_"-"_RM_"-"_Error.thrownAt

      do ^UTLERR

      }