Trace ノードを使用して、ユーザー例外が生成されたときに発生する例外の詳細を生成します。
以下は、例外リスト・ツリーを含む構造を表す値が「パターン」プロパティーに設定されている Trace ノードによって生成される出力を抽出した例です。
この例外は、(ESQL THROW ステートメントを使って) ユーザー例外が生成されたときに発生したものです。
ExceptionList = (
(0x1000000)RecoverableException = (
(0x3000000)File = 'F:¥build¥S000_D¥src¥DataFlowEngine¥ImbComputeNode.cpp'
(0x3000000)Line = 402
(0x3000000)Function = 'ImbComputeNode::evaluate'
(0x3000000)Type = 'ComIbmComputeNode'
(0x3000000)Name = 'acd8f35d-e700-0000-0080-b78796c5e70d'
(0x3000000)Label = 'esql_13485_check_defect.Compute1'
(0x3000000)Text = 'Caught exception and rethrowing'
(0x3000000)Catalog = 'WMQIv210'
(0x3000000)Severity = 3
(0x3000000)Number = 2230
(0x1000000)UserException = (
(0x3000000)File = 'F:¥build¥S000_D¥src¥DataFlowEngine¥ImbRdl¥ImbRdlThrowExceptionStatements.cpp'
(0x3000000)Line = 148
(0x3000000)Function = 'SqlThrowExceptionStatement::execute'
(0x3000000)Type = 'ComIbmComputeNode'
(0x3000000)Name = 'acd8f35d-e700-0000-0080-b78796c5e70d'
(0x3000000)Label = 'esql_13485_check_defect.Compute1'
(0x3000000)Text = 'User Generated SQL 'USER' exception'
(0x3000000)Catalog = 'WMQIv210'
(0x3000000)Severity = 1
(0x3000000)Number = 2949
(0x1000000)Insert = (
(0x3000000)Type = 5
(0x3000000)Text = 'USER'
)
(0x1000000)Insert = (
(0x3000000)Type = 5
(0x3000000)Text = 'Insert1'
)
(0x1000000)Insert = (
(0x3000000)Type = 5
(0x3000000)Text = 'Insert2'
)
(0x1000000)Insert = (
(0x3000000)Type = 5
(0x3000000)Text = 'etc'
)
(0x1000000)Insert = (
(0x3000000)Type = 5
(0x3000000)Text = ''
)
(0x1000000)Insert = (
(0x3000000)Type = 5
(0x3000000)Text = ''
)
(0x1000000)Insert = (
(0x3000000)Type = 5
(0x3000000)Text = ''
)
(0x1000000)Insert = (
(0x3000000)Type = 5
(0x3000000)Text = ''
)
(0x1000000)Insert = (
(0x3000000)Type = 5
(0x3000000)Text = ''
)
)
)
)