Code example for TransformerException

0
    { 
      stream.defaultReadObject(); 
    } 
    catch (ClassNotFoundException cnfe) 
    { 
      throw new TransformerException(cnfe); 
    } 
 
    // System.out.println("Done reading Stylesheet"); 
  } 
 
  /** 
   * Write out the given output stream  
   * 
   * 
   * @param stream The output stream to write out 
   * 
   * @throws IOException 
   */ 
  private void writeObject(ObjectOutputStream stream) throws IOException 
  {