fixed a compilation error by adding a catch statement for
PropertyVetoException in the main method.