8000 Provide a means to retrieve first exception (since StepContext.getException gets you last) · Issue #173 · jakartaee/batch · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Provide a means to retrieve first exception (since StepContext.getException gets you last) #173
Open
@follis

Description

@follis

StepExecution allows you to get the most recent exception caught by the batch runtime from application code, but you might actually want the first one (say an ItemReader threw, then the SkipListener threw, you really want the first one. But…is it the first one ever? Could be a long time ago in a long chunk loop. Or just the first on this pass? Need to clearly define when it resets if it does. Not sure it is useful if it doesn't.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0