+ 4
Custom exception
why we use super(message) when we have already used e.getMessage()
2 Respuestas
+ 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()