clj-commons / clj-commons/pretty

Support JDK7 omitted exceptions

Open
#9 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Clojure
Stars
623
Forks
29
Avg merge
2m
Merged PRs (30d)
3

Description

JDK7 adds the concept of an "omitted exception" which is related to the try with resources construct. These are still valuable, still part of the cause train.

JDK7 .printStackTrace presents omitted exceptions somewhat "side-barred", indented under the exceptions they were collapsed into. We could do the same, or use an alternate (dimmer) font for such exceptions.

Since we only present the stack trace of the deepest exception, even that may not be necessary.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the exception-rendering entry point that produces the deepest exception stack trace, then compare its behavior with JDK7 printStackTrace for omitted exceptions. Done means the handling of omitted exceptions is implemented with an agreed presentation, or the issue is clarified if the existing deepest-exception behavior makes it unnecessary.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure, java
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.