Hi, I was wondering if someone could help me with this question, please?
Write a class named ConnectionException that is a checked Exception. The constructor should receive an error message call the parent class passing details of the error that caused the Exception.
So far I have...
Any help would be appreciated :)
public class ConnectionException() throws Exception
public ConnectionException(String message)
Re: Checked Exception
A class doesn't 'throws' anything, methods do. Your class should 'extend' something explicitly to be marked as a checked exception.