Integration Your Way - (800) 235-7250
RSSBus for SharePoint V3
Questions / Feedback? rsb:throw

rsb:throw

The rsb:throw keyword is used to raise an error (exception) from within a script.

Parameters:

  • code: A string value used to identify the source and/or meaning of the exception. Connectors usually use the name of the operation that threw the exception: for example, feedGet or sugarcrmAccount. This parameter is required.
  • desc: Optional parameter that specifies a short message that describes the error condition.
  • details: Optional parameter that can specify additional data useful to diagnose the error condition.

Control Attributes:

  • This keyword does not have any control attributes.

Example:

<rsb:throw code="myerror" desc="thedescription" />

See Also:

  • rsb:try: To learn how to define a scope for catching exceptions.
  • rsb:catch: To learn how to catch thrown exceptions and define exception processing.


 
Copyright © 2013 RSSBus Inc.
[x] close

Questions / Feedback?


Name:
Email:
Feedback:
Send Feedback