Search in sources :

Example 1 with InvalidHLSException

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());
        }
    }
}
Also used : InvalidHLSException(com.arjuna.mw.wsas.exceptions.InvalidHLSException) HLS(com.arjuna.mw.wsas.activity.HLS)

Aggregations

HLS (com.arjuna.mw.wsas.activity.HLS)1 InvalidHLSException (com.arjuna.mw.wsas.exceptions.InvalidHLSException)1