use of javax.enterprise.deploy.spi.exceptions.OperationUnsupportedException in project Payara by payara.
the class ProgressObjectSink method cancel.
public void cancel() throws OperationUnsupportedException {
if (!isCancelSupported()) {
throw new OperationUnsupportedException("cancel");
}
for (Iterator itr = getSources().iterator(); itr.hasNext(); ) {
ProgressObject source = (ProgressObject) itr.next();
source.cancel();
}
}
use of javax.enterprise.deploy.spi.exceptions.OperationUnsupportedException in project Payara by payara.
the class ProgressObjectSink method stop.
public void stop() throws OperationUnsupportedException {
if (!isStopSupported()) {
throw new OperationUnsupportedException("stop");
}
for (Iterator itr = getSources().iterator(); itr.hasNext(); ) {
ProgressObject source = (ProgressObject) itr.next();
source.stop();
}
}
Aggregations