Uploaded by Helping Tutors

1 package edu.fmarion.chp13.smartDevices.server; 3 esuppresswarnings

advertisement
1 package edu.fmarion.chp13.smartDevices.server; 3 esuppresswarnings (\"serial\") public class
ConnectionException extends Exception public ConnectionException (String msg) TODO Use
super class\'s constructor to set message from String parameter. 10 Points: 5 12 13 14
Solution
package edu.fmarion.chp13.smartDevices.server;
@SuppressWarnings(\"serial\")
public class ConnectionException extends Exception
{
public void ConnectionException(String msg)// return type
{
System.out.println(msg);//setting message to monitor
}
}
Download