本文整理汇总了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;