aw schriftzug.png aw logo 60x60.png

internal package Foswiki::Plugins::WorkflowPlugin::WorkflowException

See PublishedAPI for packages intended to be used by Plugin and Contrib authors, or browse all packages.
See also Developing plugins, Developer's Bible, Technical Overview

internal package WorkflowException is a Error

Exceptions specific to workflows

ClassMethod new($object, $def, @params)

Construct a new exception object.
  • $object either a ControlledTopic or a Workflow object, or undef
  • $def def name from workflowstrings.tmpl (sans workflow: prefix)
  • @params - any number of params for populating the template

ObjectMethod debug([$tagReport]) → $string

If there is an object associated with the exception and debug is set in that object, or $alert is true, stringify the exception.

If global debug is set in configure, write the string to the debug log. Return the generated string.

If $tagReport is true, then behaviour depends on whether the exception has an associated object. If not, then a debug string is returned (e.g an HTML comment). Otherwise if the object has debug enabled, then an alert is generated.

Topic revision: r1 - 2018-02-27, UnknownUser
This site is powered by FoswikiCopyright &© by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Wiki? Send feedback