BBjAppConfig::setErrAction

Description

In BBj 14.0 and higher, this method sets the action that will occur on abnormal application termination.

Syntax

Return Value

Method

void

setErrAction(BBjBuiCloseAction action)

Parameters

Variable

Description

action

A BBjBuiCloseAction object that defines the abnormal application termination action.

Return Values

None.

Remarks

None.

Example

rem ' BBjAppConfig::setErrAction

bui! = bbjapi().getBuiManager()
admin! = bbjapi().getAdmin("admin","admin123")
appServer! = admin!.getWebAppServer()
appConfig! = appServer!.makeEmptyAppConfig()
print "getErrAction: ",appConfig!.getErrAction()
print "setErrAction()"
appConfig!.setErrAction(bui!.appAction("oops"))
print "getErrAction: ",appConfig!.getErrAction()
print "clearErrAction()"
appConfig!.clearErrAction()
print "getErrAction: ",appConfig!.getErrAction()

See Also

BBjAPI

BBjAppConfig

BBjAppConfig::getErrAction

BBjAppServer

BBjAppServer::getErrAction

BBjAppServer::setErrAction

BBjBuiCloseAction

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.