This is probably basic java, but I'm new to the language, so please forgive me
I would like to extend the SetCustomName method of LivingEntity so that, in addition to it's normal steps, it will also throw a custom event/exception.
My attempts to do this result in errors regarding abstract, and can't have body.
In addition, I can't tell if this is a class or an interface, which means I'm not sure if I should use extends or implements.
Finally, I'm looking to add this functionality, rather then create a new object.
Can you please tell me if this is possible / steer me in the correct direction? Thank you very much for the help.