Makes Smartsite throw an exception.

Syntax

Smartsite SXML CopyCode image Copy Code
sys.throwexception(enum exceptionType)
sys.throwexception(enum exceptionType, string message)

Parameters

Name Data Type Description
exceptionType Enum Type of the exception.
Enum values:
  • None
    None
  • InvalidOperation
    Invalid operation
  • InvalidArgument
    Invalid Argument
  • ArgumentNull
    Argument Null
  • SyntaxError
    Syntax Error
  • NotSupported
    NotSupported
  • ApplicationError
    Application Error
  • NotAuthorized
    Not Authorized
  • Timeout
    Timeout
  • WorkflowError
    Workflow Error
message String The exception message.

Return Value

None.
SXML