protected void throwException(MethodType methodType, CurrentSynchronizationCallback.CallbackType callback) {
        throw EjbLogger.ROOT_LOGGER.cannotCallMethod(methodType.getLabel(), callback.name());
    }
protected void throwException(MethodType methodType, CurrentSynchronizationCallback.CallbackType callback) {
        throw EjbLogger.ROOT_LOGGER.cannotCallMethod(methodType.getLabel(), callback.name());
    }
protected void throwException ( MethodType methodType , CurrentSynchronizationCallback . CallbackType callback ) { throw EjbLogger . ROOT_LOGGER . cannotCallMethod ( methodType . getLabel ( ) , callback . name ( ) ) ; }
throw an exception when a method cannot be invoked

@param methodType the method
@param callback   the type of invocation that caused it to be disabled
throw an exception when a method cannot be invoked