AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Funciones estándar / Funciones de excepciones
  • Overview
  • Displaying a custom message
  • Exception mechanism
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Overview
The security mechanism of WLanguage is enabled when a programming error occurs in an application or in a site. An error message is displayed on the end-user computer and the execution of the program is ended.
To reduce the impact of programming errors, WINDEV, WINDEV Mobile and WEBDEV include different solutions:
  • The display of a custom error message.
    WEBDEV - Código ServidorWEBDEV - Código Navegador This option is not available.
  • The mechanism of exceptions. This allows you to customize the management of the error.
Attention: These solutions can only be used to manage programming errors.. These solutions cannot be used to manage the runtime errors (such as "unable to write into a read-only file"). To manage the runtime errors, see Automatic error management.
Displaying a custom message
Windows To display a custom message when a programming error occurs, all you have to do is enter the text of the error when creating the executable.
This enables you to display (without programming) a message such as:
"Problem in application XXX: Note the error text and contact our technical support at xx.xx.xx.xx.xx".
Exception mechanism
The exception mechanism is used to process the error cases programmatically. If an exception process is triggered, no error message is displayed and the code of the exception is run. This code allows you to perform all the necessary operations:
  • to exit from the current application "properly" if the error is a fatal error,
  • to give control back to the user if the error can be corrected.
WINDEV, WEBDEV and WINDEV Mobile propose several types of exception processes:
Versión mínima requerida
  • Versión 10
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 21/09/2024

Señalar un error o enviar una sugerencia | Ayuda local