Try OpenEdge Now
skip to main content
Application Developer's Guide
Developing an application : Using JavaScript in a workstep : Integrating JavaScript : Understanding exceptions
 
Understanding exceptions
Exceptions can occur in the JavaScript code or in one of the Java methods invoked in the script. Whenever an exception occurs during the execution of the JavaScript code, the exception is thrown to the caller, which in this case is the BP Server. The BP Server catches the exception from the JavaScript execution environment, writes the stack and exception messages to the OEBPS_HOME\logs\bpserver.log file, and suspends the workstep.