Framework Mode - Checking exception type hierarchy
Folder Structure
project-root/
├── src/
│ ├── main/
│ │ └── java/
│ │ └── com/example/app/
│ │ └── (application code)
│ └── test/
│ └── java/
│ └── com/example/app/
│ ├── exceptions/ <-- custom exception classes
│ ├── utils/ <-- helper classes for tests
│ └── tests/ <-- JUnit test classes
│ └── ExceptionHierarchyTest.java
├── pom.xml <-- Maven build and dependencies
└── README.md