Search in sources :

Example 1 with BigString

use of org.vcell.util.BigString in project vcell by virtualcell.

the class LocalUserMetaDbServerMessaging method getVCImageXML.

/**
 * getVersionInfo method comment.
 * @throws RemoteException
 */
public BigString getVCImageXML(KeyValue imageKey) throws DataAccessException, ObjectNotFoundException {
    try {
        log.print("LocalUserMetaDbServerMessaging.getSimulationXML(imageKey=" + imageKey + ")");
        BigString xml = dbServerProxy.getVCImageXML(imageKey);
        return xml;
    } catch (DataAccessException e) {
        log.exception(e);
        throw e;
    } catch (Throwable e) {
        log.exception(e);
        throw new DataAccessException(e.getMessage());
    }
}
Also used : BigString(org.vcell.util.BigString) DataAccessException(org.vcell.util.DataAccessException)

Example 2 with BigString

use of org.vcell.util.BigString in project vcell by virtualcell.

the class LocalUserMetaDbServerMessaging method getSimulationXML.

/**
 * getVersionInfo method comment.
 * @throws RemoteException
 */
public BigString getSimulationXML(KeyValue simKey) throws DataAccessException, ObjectNotFoundException {
    try {
        log.print("LocalUserMetaDbServerMessaging.getSimulationXML(simKey=" + simKey + ")");
        BigString xml = dbServerProxy.getSimulationXML(simKey);
        return xml;
    } catch (DataAccessException e) {
        log.exception(e);
        throw e;
    } catch (Throwable e) {
        log.exception(e);
        throw new DataAccessException(e.getMessage());
    }
}
Also used : BigString(org.vcell.util.BigString) DataAccessException(org.vcell.util.DataAccessException)

Example 3 with BigString

use of org.vcell.util.BigString in project vcell by virtualcell.

the class LocalUserMetaDbServerMessaging method saveBioModelAs.

/**
 * getVersionInfo method comment.
 * @throws RemoteException
 */
public BigString saveBioModelAs(BigString bioModelXML, String newName, String[] independentSims) throws DataAccessException {
    try {
        log.print("LocalUserMetaDbServerMessaging.saveBioModel(newName=" + newName + ")");
        BigString savedBioModelXML = dbServerProxy.saveBioModelAs(bioModelXML, newName, independentSims);
        return savedBioModelXML;
    } catch (DataAccessException e) {
        log.exception(e);
        throw e;
    } catch (Throwable e) {
        log.exception(e);
        throw new DataAccessException(e.getMessage());
    }
}
Also used : BigString(org.vcell.util.BigString) DataAccessException(org.vcell.util.DataAccessException)

Example 4 with BigString

use of org.vcell.util.BigString in project vcell by virtualcell.

the class LocalUserMetaDbServerMessaging method saveGeometry.

/**
 * getVersionInfo method comment.
 * @throws RemoteException
 */
public BigString saveGeometry(BigString geometryXML) throws DataAccessException {
    try {
        log.print("LocalUserMetaDbServerMessaging.saveGeometry()");
        BigString savedGeometryXML = dbServerProxy.saveGeometry(geometryXML);
        return savedGeometryXML;
    } catch (DataAccessException e) {
        log.exception(e);
        throw e;
    } catch (Throwable e) {
        log.exception(e);
        throw new DataAccessException(e.getMessage());
    }
}
Also used : BigString(org.vcell.util.BigString) DataAccessException(org.vcell.util.DataAccessException)

Example 5 with BigString

use of org.vcell.util.BigString in project vcell by virtualcell.

the class LocalUserMetaDbServerMessaging method saveVCImage.

/**
 * getVersionInfo method comment.
 * @throws RemoteException
 */
public BigString saveVCImage(BigString vcImageXML) throws DataAccessException {
    try {
        log.print("LocalUserMetaDbServerMessaging.saveVCImage()");
        BigString savedVCImageXML = dbServerProxy.saveVCImage(vcImageXML);
        return savedVCImageXML;
    } catch (DataAccessException e) {
        log.exception(e);
        throw e;
    } catch (Throwable e) {
        log.exception(e);
        throw new DataAccessException(e.getMessage());
    }
}
Also used : BigString(org.vcell.util.BigString) DataAccessException(org.vcell.util.DataAccessException)

Aggregations

BigString (org.vcell.util.BigString)63 DataAccessException (org.vcell.util.DataAccessException)45 KeyValue (org.vcell.util.document.KeyValue)26 BioModel (cbit.vcell.biomodel.BioModel)24 XMLSource (cbit.vcell.xml.XMLSource)23 XmlParseException (cbit.vcell.xml.XmlParseException)22 SQLException (java.sql.SQLException)21 Simulation (cbit.vcell.solver.Simulation)19 User (org.vcell.util.document.User)19 ObjectNotFoundException (org.vcell.util.ObjectNotFoundException)15 BioModelInfo (org.vcell.util.document.BioModelInfo)14 SimulationContext (cbit.vcell.mapping.SimulationContext)13 SimulationStatusPersistent (cbit.vcell.server.SimulationStatusPersistent)12 RemoteProxyException (cbit.vcell.message.server.bootstrap.client.RemoteProxyVCellConnectionFactory.RemoteProxyException)10 MathException (cbit.vcell.math.MathException)8 ExpressionException (cbit.vcell.parser.ExpressionException)8 MathModel (cbit.vcell.mathmodel.MathModel)7 VCSimulationIdentifier (cbit.vcell.solver.VCSimulationIdentifier)7 IOException (java.io.IOException)7 ResultSet (java.sql.ResultSet)7