10 Replies Latest reply: Nov 26, 2006 5:54 PM by 807607 RSS

    Constructor Failure

      "Write a program that shows a constructor passing information about constructor failureto an exception handler. Define class SomeException, which throws an Exception in the constructor. your program should try to create an object of type SomeException and catch the exception that is thrown from the constructor." thats what the question is asking for. i have found programs that throw exceptions FROM a constructor but IN the constructor. can anyone help me?