Package org.objectweb.speedo.api

Examples of org.objectweb.speedo.api.SpeedoException


            p.setProperty(element.getPublicId(), element.getLocation());
        }
        try {
            parser = new SAXParserHelper(p, logger, getClass().getClassLoader(), false);
        } catch (SAXException e) {
            throw new SpeedoException(e);
        }
        parsedfiles = 0;
      return true;
    }
View Full Code Here


            throw e;
        } catch (Exception e) {
            String msg = "Error with the construction of file "
                + scp.xmlDir + File.separator + xmlFile;
            logger.log(BasicLevel.ERROR, msg);
            throw new SpeedoException(msg, e);
        }
    }
View Full Code Here

      for (Iterator itDesc = scp.getXmldescriptor().values().iterator(); itDesc.hasNext();) {
        SpeedoXMLDescriptor desc = (SpeedoXMLDescriptor) itDesc.next();
        serialize(desc);
      }
    } catch (SpeedoException e) {
            throw new SpeedoException("Error during serialization of meta information", e);
        }
  }
View Full Code Here

  private void serialize(SpeedoXMLDescriptor desc) throws SpeedoException {
    //Serialize the list in the file
    try {
      Object2StringSerializer.serialize(scp.output, desc.xmlFile, desc.mos, logger);
      } catch (Exception io) {
          throw new SpeedoException("IO Exception, impossible to write the " +
                  "meta information for the jdo file " + desc.xmlFile, io);
      }
  }
View Full Code Here

TOP

Related Classes of org.objectweb.speedo.api.SpeedoException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.