
| Line: 24 to 24 | ||||||||
|---|---|---|---|---|---|---|---|---|
| Changed: | ||||||||
| < < | ObjectMethod stringify () -> $string | |||||||
| > > | ObjectMethod stringify ([$session]) -> $string | |||||||
| Changed: | ||||||||
| < < | Generates a string representation for the object, mainly for debugging. | |||||||
| > > | Generates a string representation for the object. if a session is passed in, and the excpetion specifies a def, then that def is expanded. This is to allow internal expansion of oops exceptions for example when performing bulk operations. | |||||||
| Line: 1 to 1 | ||||||||
|---|---|---|---|---|---|---|---|---|
| Added: | ||||||||
| > > | Package =TWiki::OopsExceptionextends Error Exception used to raise a request to redirect to an Oops URL. An OopsException thrown anywhere in the code will redirect the browser to a url based on theoops script. oops requires a
template parameter, that is the name of a template file from
the templates directory. This file will be expanded and the
parameter values passed to the exception instantiated. The
result will be shown in the browser.
ClassMethod new ($template,...)
ObjectMethod stringify () -> $stringGenerates a string representation for the object, mainly for debugging. | |||||||