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
Returns the error for the last J2EE procedure that failed.
Note: This procedure was run by J2EERun or J2EERunXML.
Example
// Returns the error message of the last J2EE procedure run
ResErrorMessage = 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:
J2EEErrCodeError of the last J2EE procedure run:
  • "VersionMismatch": The J2EE version used on the current computer differs from the one used on the server.
  • "MustUnderstand": The server does not understand the parameter specified in the header (only if the <Procedure Execution> parameter of the header is initialized to True).
  • "Customer": Invalid setting regarding the execution of the procedure.
  • "Server": The server did not run the procedure.
Note: This character string can be filled with additional information. The following format is used: "<Error>.<Information>". For example: "Client.Authentication" if the error is due to the client authentication.
J2EEErrMessageError message returned by the server on the last J2EE procedure run.
J2EEErrActorURL of the server that triggered the error (useful if the procedure is run by several servers).
J2EEErrDetailsDetails of error. This message is in XML format.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230com.dll
Windows Mobile wp230com.dll
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment