public class Test extends StandardTest
   {
   public static void main (String [] args)
      {
      try
         {
         dangerMethod();
         }
      catch ( StrangeException e )
         {
         System.out.println( "oops" + e.getMessage() );
         }
      } // end main

   void dangerMethod() throws StrangeException
   {
      if ( unexpected() ) throw new StrangeException ( "oh oh" );
   } // end dangerMethod
   } // end class Test