Exception

 

 

 

Exception

 

Description

Raises a fatal exception with a specified message at time of parsing to be used to abort a process and raise an exception handler.

 

Arguments

1.Exception - Name of the Macro.

2.Message - A message to throw inside of an exception when the macro is parsed.  If blank no exception will be thrown.

 

Examples

[Exception|This is an error]

Throws a fatal exception with the text This is an error in the message

 

[Exception|]

Does nothing because the message is empty.

 

[Exception|[CASE|[DateFormat||dd]|WHEN|01|THEN|Cannot be run on the 1st|ELSE|]]

Throws a fatal exception with the text Cannot be run on the 1st in the message only if it is the 1st of the month

 

Notes

Use this to implement business rules to stop a process or cause an action to fail

 


Copyright © 2024 pasUNITY, Inc.

 

Send comments on this topic.



Created with an evaluation copy of HelpSmith.
To remove this notice, you should purchase the full version of the product.