1   /*
2    * Copyright (C) The MetaClass Group. All rights reserved.
3    *
4    * This software is published under the terms of the Spice
5    * Software License version 1.1, a copy of which has been included
6    * with this distribution in the LICENSE.txt file.
7    */
8   package org.codehaus.metaclass.io;
9   
10  import java.io.IOException;
11  import java.io.OutputStream;
12  import org.codehaus.metaclass.model.ClassDescriptor;
13  
14  /***
15   * @author Peter Donald
16   * @version $Revision: 1.1 $ $Date: 2003/12/11 08:41:51 $
17   */
18  public class FailingMetaClasIOBinary
19      extends MetaClassIOBinary
20  {
21      public void serializeClass( final OutputStream output,
22                                  final ClassDescriptor descriptor )
23          throws IOException
24      {
25          throw new IOException();
26      }
27  }