ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Errors / WLanguage errors
  • Reason
  • Tip
  • Examples
  • An exception process is used to manage an error that occurred in the first exception process
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Error 30: An exception process cannot be declared inside another exception process...
Reason
The current process uses an exception process. A new management of exceptions is implemented in this exception process. The exceptions cannot be managed in an exception process.
Tip
The code for exception process must be checked with great care. Indeed, if this code contains an error, this error will not be intercepted by an exception process.
Examples

An exception process is used to manage an error that occurred in the first exception process

Code triggering the error
IF InTestMode() = False THEN
WHEN EXCEPTION
Error("Error:" + ExceptionInfo(errMessage) + " Code " + ExceptionInfo(errCode) + ...
 " at line " + ExceptionInfo(errLine) + " of "  + ...
  ExceptionInfo(errProcess) , "EXC")
WHEN EXCEPTION
// If we cannot write into .ini, exit from the program
EndProgram()
END
// Procedure used to write into an INI file
bWriteIntoIni("")
END
END
Possible correction
Delete the extra exception process and check the exception process.
IF InTestMode() = False THEN
WHEN EXCEPTION
Error("Error:" + ExceptionInfo(errMessage) + " Code " + ExceptionInfo(errCode) + ...
 " at line " + ExceptionInfo(errLine) + " of "  + ...
  ExceptionInfo(errProcess) , "EXC")
// Procedure used to write into an INI file
bWriteIntoIni("")
END
END
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help