+ 4
Custom exception
why we use super(message) when we have already used e.getMessage()
2 odpowiedzi
+ 4
When you throw your exception, you need to store the message into the super's data so it is there for getMessage() to access.
0
for acces it
why we use super(message) when we have already used e.getMessage()