OpenWGA 7.9 - TMLScript reference

Error
Property :

javaException

On object Error
Usage Provides an optional Java exception that caused this error
Description A cause for an error object to be thrown may be a Java exception that has been thrown by an underlying Java functionality. In that case the error "wraps" the Java exception object which is available via this property.

This property is not defined if the error was not caused by a Java exception. So you should test for existence of this property before using it.
Return value Java exception objekt (java.lang.Exception subclass)
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events
    portletevent