Wyjątek Java Zastąpienie wiadomości
// Most exception classes provide a constructor requesting a String.
// Check the API of your superclass.
public class PersonalException extends RuntimeException{
public PersonalException() {
super("This is a message for you! Something went wrong...");
}
}
UnAngeloCheSiChiamaTheKing