Contents

throwException(_:)

Raises an exception in the current script execution context.

Declaration

class func throwException(_ exceptionMessage: String!) -> Bool

Parameters

  • exceptionMessage:

    The exception message.

Return Value

true if successful, false otherwise.

See Also

Raising exceptions