SI Seminar by Diego Venâncio Marcílio

Istituto del software

Data: 12 Maggio 2022 / 16:30 - 17:30

Towards Untangling Java Exceptions

Speaker: Diego Venâncio Marcílio

Exceptions are events that disrupt the normal flow of a program. If not correctly handled, they can cause bugs that are often tricky to detect and debug. In Java, exception handling practices can be a controversial topic, and the state of practice is all over the place. Disagreements range from the kind of exceptions (i.e., checked and unchecked) to specific exception types (e.g., NullPointerException, IllegalArgumentException). Moreover, while best practices dictate that exceptions should be documented, they are oftentimes not. This talk will summarize our current and future work towards untangling (some) of the Java exceptions mess. Our recent results include adding to and improving the documentation of popular Apache projects with fully automatically extracted preconditions.

Diego Marcilio is a Ph.D. student in the Software institute at USI Università della Svizzera italiana in Lugano, Switzerland. He received his M.S. in Informatics from the University of Brasília, Brazil, in 2019. His research interests center around aiding developers when understanding, writing, evolving, and maintaining source code. To know more, please check

Chair: Csaba Nagy

ℹ️ The seminar will be held online. Please click here to join.


In February 2019, the Software Institute started its SI Seminar Series. Every Thursday afternoon, a researcher of the Institute will publicly give a short talk on a software engineering argument of her choice. Examples include, but are not limited to, novel interesting papers, seminal papers, personal research overview, discussion of preliminary research ideas, tutorials, and small experiments.

On our YouTube playlist you can watch some of the past seminars. Below you can find more details on the next seminar, the upcoming seminars, and an archive of the past speakers.

Everyone is welcome to attend the seminars organized by the Software Institute.