Base solution created for exception handling examples