1
JavaBeginner#exceptions
Wrapping a lower-level exception inside a higher-level one while preserving the original via the 'cause' constructor argument, so the full stack trace and root cause remain visible for debugging.
try {
parseFile();
} catch (IOException e) {
throw new RuntimeException("Failed to process file", e); // e is the cause
}