Search in sources :

Example 1 with ACSException

use of alma.ACSErr.ACSException in project ACS by ACS-Community.

the class DefaultAcsJException method toCorbaException.

/**
	 * Unlike other exception classes, this class does not correspond directly
	 * to an IDL defined type safe exception.
	 * Therefore, the returned UserException is an instance of 
	 * <code>alma.ACSErr.ACSException</code>.
	 * 
	 * @see alma.acs.exceptions.AcsJException#toCorbaException()
	 */
public UserException toCorbaException() {
    ErrorTrace et = getErrorTrace();
    ACSException acsEx = new ACSException(et);
    return acsEx;
}
Also used : ErrorTrace(alma.ACSErr.ErrorTrace) ACSException(alma.ACSErr.ACSException)

Aggregations

ACSException (alma.ACSErr.ACSException)1 ErrorTrace (alma.ACSErr.ErrorTrace)1