import java.io.*;
import org.exolab.castor.xml.MarshalException;
import OOP2002Example.*;

public class example1
{
   public static void main(String[] argv)
   {
	   try
	   {
	      Pkw myPkw = Pkw.unmarshal(new FileReader( argv[0] ));
      } //try
      catch (MarshalException e)
      {
         Exception originatingException = e.getException();
         if (originatingException != null)
         {
            System.out.println(originatingException);
         } //if
      } //catch
      catch (Exception e)
      {
         System.out.println("EXCEPTION: "+e);
      }
   } //main()
} //class example1