Share
Explore BrainMass

ChatIOException.java

My problem is an exception class called ChatIOException that extends from IOException that is imported from the java.io package in order to extend IOException. Also, the ChatIOException class is within the package name javatraining.example.multithreads.chat

There are 2 constructors that need to be declared for the ChatIOException class.

The first is a default constructor for the ChatIOException class. This constructor takes in no parameters and calls super() within the implementation block.

The second constructor takes in a string as a parameter and passes this string into the call to super();

Solution Summary

ChatIOException.java is utilized.

$2.19