ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Communication / J2EE functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Returns the error for the last J2EE procedure that failed.
Note This procedure was carried out by function J2EERun or J2EERunXML.
Example
// Renvoie le message d'erreur de la dernière procédure J2EE exécutée
ResMessageErreur = J2EEError(J2EEErrMessage)
Syntax
<Result> = J2EEError(<Type of error>)
<Result>: Character string
  • Error of the last J2EE procedure that failed.
  • An empty string ("") if:
    • no error was returned by the server,
    • no connection was established to the server.
<Type of error>: Constant
Type of error to return:
J2EEErrActorURL of the server that triggered the error (useful if the procedure is run by several servers).
J2EEErrCodeError of the last J2EE procedure run:
  • "VersionMismatch": The J2EE version used on the current workstation is different from the one used on the server.
  • "MustUnderstand": The server does not understand the parameter specified in the header (only if the parameter <Procedure Execution> in the header is set to True).
  • "Client": Incorrect settings for procedure execution.
  • "Server": The server has not executed the Procedure.
Remark: This string can be completed with additional information.. The following format is used: "<Error>.<Information>". For example: "Client.Authentication" if the error is due to client authentication.
J2EEErrDetailsError details. This message is in XML format.
J2EEErrMessageError message returned by the server on the last J2EE procedure run.
Component: wd300com.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help