本文整理匯總了Java中eis.exceptions.QueryException類的典型用法代碼示例。如果您正苦於以下問題:Java QueryException類的具體用法?Java QueryException怎麽用?Java QueryException使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
QueryException類屬於eis.exceptions包,在下文中一共展示了QueryException類的6個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: queryProperty
import eis.exceptions.QueryException; //導入依賴的package包/類
/**
* {@inheritDoc}
*/
@Override
public String queryProperty(String property) throws RemoteException, QueryException {
return BW4TEnvironment.getInstance().queryProperty(property);
}
示例2: queryProperty
import eis.exceptions.QueryException; //導入依賴的package包/類
@Override
public String queryProperty(String property) throws QueryException {
return null;
}
示例3: queryProperty
import eis.exceptions.QueryException; //導入依賴的package包/類
/**
* Get a property from the environment
*
* @param property
* , the property to query
* @return the property
* @throws QueryException
* when the query fails
*/
@Override
public String queryProperty(String property) throws QueryException {
try {
return getClient().queryProperty(property);
} catch (RemoteException e) {
throw environmentSuddenDeath(e);
}
}
示例4: queryEntityProperty
import eis.exceptions.QueryException; //導入依賴的package包/類
/**
* Get a property from a certain entity
*
* @param entity
* , the entity
* @param property
* , the property to query
* @return the property
* @throws QueryException
* when the query fails
*/
@Override
public String queryEntityProperty(String entity, String property) throws QueryException {
try {
return getClient().queryEntityProperty(entity, property);
} catch (RemoteException e) {
throw environmentSuddenDeath(e);
}
}
示例5: queryProperty
import eis.exceptions.QueryException; //導入依賴的package包/類
/**
* Queries the interface of a certain property.
* @param property
* @return
*/
String queryProperty(String property) throws QueryException;
示例6: queryEntityProperty
import eis.exceptions.QueryException; //導入依賴的package包/類
/**
* Queries an entity of a certain property.
* @param property
* @return
*/
String queryEntityProperty(String entity, String property) throws QueryException;