Customer Portal

Parse errors of executions graph

Comments 3

  • Avatar
    avackova
    0
    Comment actions Permalink
    What about RunGraph component? Or if you run your graph from java code, you can use getLogger() method of TransformationGraph object.
  • Avatar
    caporegim
    0
    Comment actions Permalink

    Or if you run your graph from java code, you can use getLogger() method of TransformationGraph object.

    "avackova"

    getLogger returns object of class
    org.apache.commons.logging.Log

    It has only logging methods - debug, info, warn etc..
    What I need to do with it to get Error Messages?
  • Avatar
    mzatopek
    0
    Comment actions Permalink
    Hello!

    I suppose you run a transformation graph on your own. Whenever a graph is finished you get a result, which is just enum with a final status - finishedOk/error/aborted. If the result is 'error', you can get cause exception and/or error message via watchdog class and its methods getCauseException(), getCauseGraphElement(), getErrorMessage().

    Martin

Please sign in to leave a comment.