Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 348 Bytes

File metadata and controls

10 lines (7 loc) · 348 Bytes

Custom Exceptions

Task 1:

Need create your custom exception which is inherited IllegalArgumentException.

Task 2:

Your custom exception should be return custom message like "Could not find student with ID {id}".

Task 3:

Implement method 'find' in class StudentManager which are throw your custom exception if this student is not found.