Search in sources :

Example 11 with DataAccessException

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

the class LocalUserMetaDbServerMessaging method groupSetPublic.

/**
 * This method was created in VisualAge.
 * @return void
 * @param key KeyValue
 * @exception DataAccessException The exception description.
 * @exception java.rmi.RemoteException The exception description.
 */
public org.vcell.util.document.VersionInfo groupSetPublic(org.vcell.util.document.VersionableType vType, org.vcell.util.document.KeyValue key) throws DataAccessException, ObjectNotFoundException {
    try {
        log.print("LocalUserMetaDbServerMessaging.groupSetPublic(vType=" + vType.getTypeName() + ", Key=" + key + ")");
        VersionInfo newVersionInfo = dbServerProxy.groupSetPublic(vType, key);
        return newVersionInfo;
    } catch (DataAccessException e) {
        log.exception(e);
        throw e;
    } catch (Throwable e) {
        log.exception(e);
        throw new DataAccessException(e.getMessage());
    }
}
Also used : VersionInfo(org.vcell.util.document.VersionInfo) DataAccessException(org.vcell.util.DataAccessException)

Example 12 with DataAccessException

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

the class LocalUserMetaDbServerMessaging method deleteGeometry.

/**
 * Insert the method's description here.
 * Creation date: (10/22/2003 10:23:06 AM)
 * @throws RemoteException
 */
public void deleteGeometry(org.vcell.util.document.KeyValue key) throws DataAccessException {
    try {
        log.print("LocalUserMetaDbServerMessaging.deleteGeometry(Key=" + key + ")");
        dbServerProxy.deleteGeometry(key);
    } catch (DataAccessException e) {
        log.exception(e);
        throw e;
    } catch (Throwable e) {
        log.exception(e);
        throw new DataAccessException(e.getMessage());
    }
}
Also used : DataAccessException(org.vcell.util.DataAccessException)

Example 13 with DataAccessException

use of org.vcell.util.DataAccessException 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 14 with DataAccessException

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

the class LocalUserMetaDbServerMessaging method groupAddUser.

/**
 * This method was created in VisualAge.
 * @return void
 * @param key KeyValue
 * @exception DataAccessException The exception description.
 * @exception java.rmi.RemoteException The exception description.
 */
public org.vcell.util.document.VersionInfo groupAddUser(org.vcell.util.document.VersionableType vType, org.vcell.util.document.KeyValue key, String addUserToGroup, boolean isHidden) throws DataAccessException, ObjectNotFoundException {
    try {
        log.print("LocalUserMetaDbServerMessaging.groupAddUser(vType=" + vType.getTypeName() + ", Key=" + key + ", userToAdd=" + addUserToGroup + ", isHidden=" + isHidden + ")");
        VersionInfo newVersionInfo = dbServerProxy.groupAddUser(vType, key, addUserToGroup, isHidden);
        return newVersionInfo;
    } catch (DataAccessException e) {
        log.exception(e);
        throw e;
    } catch (Throwable e) {
        log.exception(e);
        throw new DataAccessException(e.getMessage());
    }
}
Also used : VersionInfo(org.vcell.util.document.VersionInfo) DataAccessException(org.vcell.util.DataAccessException)

Example 15 with DataAccessException

use of org.vcell.util.DataAccessException 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)

Aggregations

DataAccessException (org.vcell.util.DataAccessException)345 KeyValue (org.vcell.util.document.KeyValue)82 XmlParseException (cbit.vcell.xml.XmlParseException)80 ExpressionException (cbit.vcell.parser.ExpressionException)78 ObjectNotFoundException (org.vcell.util.ObjectNotFoundException)71 SQLException (java.sql.SQLException)67 IOException (java.io.IOException)60 MathException (cbit.vcell.math.MathException)59 RemoteProxyException (cbit.vcell.message.server.bootstrap.client.RemoteProxyVCellConnectionFactory.RemoteProxyException)46 BigString (org.vcell.util.BigString)45 User (org.vcell.util.document.User)42 FileNotFoundException (java.io.FileNotFoundException)38 ResultSet (java.sql.ResultSet)38 PropertyVetoException (java.beans.PropertyVetoException)37 File (java.io.File)34 PermissionException (org.vcell.util.PermissionException)34 Statement (java.sql.Statement)33 ExpressionBindingException (cbit.vcell.parser.ExpressionBindingException)32 BioModelInfo (org.vcell.util.document.BioModelInfo)29 Vector (java.util.Vector)26