1// Most exception classes provide a constructor requesting a String.
2// Check the API of your superclass.
3
4public class PersonalException extends RuntimeException{
5
6 public PersonalException() {
7 super("This is a message for you! Something went wrong...");
8 }
9}