Zoomed Image

AMSX Scripting Language - Command : throw

Summary

Raise an exception and abort the script

Description

Throws a .NET exception with the specified message, stopping script execution immediately. Use this to enforce preconditions or report unrecoverable errors in a transform or batch job.

Parameters

ParameterDescription
cmderror message text to include in the exception

Syntax


Throw "error message text to include in the exception"

Return to the AMSX Command Reference