Search in sources :

Example 16 with DataAccessException

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

the class LocalUserMetaDbServerMessaging method getBioModelMetaDatas.

/**
 * getVersionInfo method comment.
 * @throws RemoteException
 */
public BioModelMetaData[] getBioModelMetaDatas(boolean bAll) throws DataAccessException {
    try {
        log.print("LocalUserMetaDbServerMessaging.getBioModelMetaDatas(bAll=" + bAll + ")");
        BioModelMetaData[] bioModelMetaDataArray = dbServerProxy.getBioModelMetaDatas(bAll);
        return bioModelMetaDataArray;
    } catch (DataAccessException e) {
        log.exception(e);
        throw e;
    } catch (Throwable e) {
        log.exception(e);
        throw new DataAccessException(e.getMessage());
    }
}
Also used : BioModelMetaData(cbit.vcell.biomodel.BioModelMetaData) DataAccessException(org.vcell.util.DataAccessException)

Example 17 with DataAccessException

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

the class LocalUserMetaDbServerMessaging method getMathModelMetaData.

/**
 * getVersionInfo method comment.
 * @throws RemoteException
 */
public MathModelMetaData getMathModelMetaData(KeyValue mathModelKey) throws DataAccessException {
    try {
        log.print("LocalUserMetaDbServerMessaging.getMathModelMetaData(key=" + mathModelKey + ")");
        MathModelMetaData mathModelMetaData = dbServerProxy.getMathModelMetaData(mathModelKey);
        return mathModelMetaData;
    } catch (DataAccessException e) {
        log.exception(e);
        throw e;
    } catch (Throwable e) {
        log.exception(e);
        throw new DataAccessException(e.getMessage());
    }
}
Also used : MathModelMetaData(cbit.vcell.mathmodel.MathModelMetaData) DataAccessException(org.vcell.util.DataAccessException)

Example 18 with DataAccessException

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

the class LocalUserMetaDbServerMessaging method deleteBioModel.

/**
 * Insert the method's description here.
 * Creation date: (10/22/2003 10:23:06 AM)
 * @throws RemoteException
 */
public void deleteBioModel(org.vcell.util.document.KeyValue key) throws DataAccessException {
    try {
        log.print("LocalUserMetaDbServerMessaging.deleteBioModel(Key=" + key + ")");
        dbServerProxy.deleteBioModel(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 19 with DataAccessException

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

the class LocalUserMetaDbServerMessaging method groupRemoveUser.

/**
 * 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 groupRemoveUser(org.vcell.util.document.VersionableType vType, org.vcell.util.document.KeyValue key, String userRemoveFromGroup, boolean isHiddenFromOwner) throws DataAccessException, ObjectNotFoundException {
    try {
        log.print("LocalUserMetaDbServerMessaging.groupRemoveUser(vType=" + vType.getTypeName() + ", Key=" + key + ", userRemoveFromGroup=" + userRemoveFromGroup + ")");
        VersionInfo newVersionInfo = dbServerProxy.groupRemoveUser(vType, key, userRemoveFromGroup, isHiddenFromOwner);
        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 20 with DataAccessException

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

the class LocalUserMetaDbServerMessaging method getMathModelMetaDatas.

/**
 * getVersionInfo method comment.
 * @throws RemoteException
 */
public MathModelMetaData[] getMathModelMetaDatas(boolean bAll) throws DataAccessException {
    try {
        log.print("LocalUserMetaDbServerMessaging.getMathModelMetaDatas(bAll=" + bAll + ")");
        MathModelMetaData[] mathModelMetaDataArray = dbServerProxy.getMathModelMetaDatas(bAll);
        return mathModelMetaDataArray;
    } catch (DataAccessException e) {
        log.exception(e);
        throw e;
    } catch (Throwable e) {
        log.exception(e);
        throw new DataAccessException(e.getMessage());
    }
}
Also used : MathModelMetaData(cbit.vcell.mathmodel.MathModelMetaData) 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