BBjAppServer::setErrAction

Description

In BBj 14.0, 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 ' BBjAppServer::setErrAction

admin! = bbjapi().getAdmin("admin","admin123")
appServer! = admin!.getWebAppServer()
bui! = bbjapi().getWebManager()
action! = bui!.appAction("oopsmenu")
appServer!.setErrAction(action!)
print "setErrAction: ",action!

See Also

BBjAPI

BBjAppConfig

BBjAppServer

BBjAppServer::getErrAction

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