title: How can I set the message on an exception in Java?
body: <p>I want to set a custom exception message. However, I'm unsure of how to do this. Will I need to create a custom exception class or is there an easier way of doing this?</p>