Loading TOC...

xdmp.rethrow

xdmp.rethrow() as null

Summary

Within the catch section of a try-catch expression, re-throw the currently caught error.

Example

declareUpdate();
try {
  xdmp.documentDelete("/some-uri") }
catch (e) {if (e.name =="XDMP-DOCNOTFOUND") {  }
           else {xdmp.rethrow()}}

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy