use of com.arjuna.mw.wsas.exceptions.InvalidHLSException in project narayana by jbosstm.
the class HLSManager method removeHLS.
public static final void removeHLS(HLS service) throws InvalidHLSException, SystemException {
if (service == null)
throw new InvalidHLSException();
else {
String key = service.identity();
HLS oldValue;
synchronized (_hlsMap) {
oldValue = _hlsMap.remove(key);
}
if (oldValue == null) {
throw new InvalidHLSException(wsasLogger.i18NLogger.get_activity_HLSManager_1());
}
}
}
Aggregations