@@ -0,0 +1,2816 @@
+//******************************************************************************%0A//  Firm.java       Java Foundations%0A//  Author: Miguel A Rodriguez%0A//  Date: 9/8/2015%0A//  Course: CSC 112-001%0A//  Description:%0A//           Keeps track of many different records for many different staff members%0A//           and displays the records respectively.%0A//  %0A//******************************************************************************%0A%0A   %0A//         UML Diagram for main Application   %0A//         ************************************************************************************  %0A//           Application Class         %0A//          ***********************************************************************************     %0A//Class:      Firm%0A//          ***********************************************************************************%0A//Variables&Objects: %0A//            Personnel                %0A//          ************************************************************************************%0A//Methods:%0A//            +main(args: String%5B%5D :void %0A//          ************************************************************************************* %0A%0A//   ********************************************************************************************%0A//       Program Logic:%0A//                  1) read the many different records for each of the classes%0A//                  2) output each record%0A//  **********************************************************************************************%0A//*******************************************************************************%0A// Pseudocode %0A//          read many classes%0A//          output the data%0A//*******************************************************************************%0A%0Aimport java.util.Scanner;%0A%0Apublic class CreatingExceptions%0A%7B%0A%0A   //-----------------------------------------------------------------%0A   //  Creates an exception object and possibly throws it.%0A   //-----------------------------------------------------------------%0A   public static void main (String%5B%5D args) %0A   %7B%0A      final int MAX = 20;%0A%0A      Scanner scan = new Scanner (System.in);%0A   while(true)%0A   %7B%0A      StringTooLongException problem =%0A         new StringTooLongException (%22Input value is out of range.%22);%0A%0A      System.out.print (%22Enter a string with the maximum value of %22 + MAX + %22 characters: %22);%0A      String value = scan.nextLine();%0A%0A     try%7B%0A      //  Determine if the exception should be thrown%0A      if (value.length() %3E= MAX)%0A         throw problem;%0A      %7D%0A  catch(StringTooLongException problem1)%0A        %7B%0A         System.out.println(%22Your string is too long.%22);%0A        %7D%0A        %0A        System.out.println(%22Do you want to quit? (y/n) %22);%0A        String response = scan.nextLine();%0A        if(response.equals(%22y%22)) break;%0A        %0A      %7D//end while%0A     %0A   %7D%0A%7D%0A

Create CreatingException.java