use of alma.acs.callbacks.Objects.MyAcsJException in project ACS by ACS-Community.
the class ResponderUtil method giveCompletion.
// ========================================================
// ===================== Response =======================
// ========================================================
public static Completion giveCompletion(Exception exc) {
Completion ret;
// wrap Exception in a AcsJException
AcsJException acsJExc = new MyAcsJException(exc);
// wrap AcsJException in a AcsJCompletion
MyAcsJCompletion c = new MyAcsJCompletion(acsJExc);
// transform AcsJCompletion to a Completion
ret = c.toCorbaCompletion();
return ret;
}
Aggregations