PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
ExceptionChangeParameter (Function)
In French: ExceptionChangeParamètre
Configures the automatic behavior that will be implemented if an exception occurs in the current process. The previous behavior can be restored by ExceptionRestoreParameter.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
iPhone/iPad This function is now available for the iPhone/iPad applications.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps mode.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Universal Windows 10 App This function is now available in Windows Store apps mode.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Versions 21 and later
Apple Watch This function is now available in Apple Watch mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Apple Watch This function is now available in Apple Watch mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Apple Watch This function is now available in Apple Watch mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Syntax
ExceptionChangeParameter(<Behavior to Implement> [, <Parameter>])
<Behavior to Implement>: Integer constant
Behavior to Implement:
epCodeStandard operating mode of exceptions.

Runs:
  • the WHEN EXCEPTION process
  • the automatic management of exceptions.
epGotoCaseExceptionRuns the code defined by: CASE EXCEPTION:
epExecuteProcedureRuns the procedure specified in parameter.

This procedure must return one of the following constants:
  • opEndProcess: Gives control back to the user
  • opEndProgram (by default): The application is stopped.
  • opRelaunchProgram: Stops and restarts the application.
epReturnEnds the current process and does not propagate the exception
epResultExits from the current process and returns the value specified in parameter. The exception is not propagated.
<Parameter>: Optional parameter
Optional parameter depending on the selected behavior.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230vm.dll
Windows Mobile wp230vm.dll
Linux wd230vm.so
Minimum required version
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment