Define an exception class called CoreBreachException. The class
should have a default constructor. If an exception is thrown using this
zero-argument constructor, getMessage should return "Core Breach!
Evacuate Ship!" The class should also define a constructor having a
single parameter of type String. If an exception is thrown using this
constructor, getMessage should return the value that was used as an
argument to the constructor.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here