ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Errors / WLanguage errors
  • Reason
  • Correction
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 1015: The method of the class is protected
Reason
You are trying to access a protected method of the class from a code other than a method of this class or derived class.
Reminder: A protected method can only be used from a method of the class or from a method of a class derived from this class.
Correction
Two possibilities:
  • Replace the protected method by a public method: the access to the method will not be restricted.
  • Don't handle this protected method from one of the project codes.
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help