Affiliation:
1. Dipartimento di Scienze e Metodi dell’Ingegneria, Università degli Studi di Modena e Reggio Emilia, Modena, Italy
2. Dipartimento di Scienze Matematiche, Fisiche e Informatiche, Università degli Studi di Parma, Parma, Italy
Abstract
Software agents are normally expected to operate in open and dynamic environments, and therefore they are often supposed to face situations that significantly deviate from the nominal course of events. The effective management of exceptional situations is of paramount importance to provide agents with the needed means to operate in their environments, mostly because these situations should be considered as the norm in open and dynamic environments. This paper presents some recent additions to the Jadescript agent-oriented programming language that were specifically designed to provide agents with the needed capabilities to effectively detect and manage exceptional situations. The first part of this paper motivates the need of sophisticated exception handling capabilities, also by relating the proposed language features with the state of the art documented in the literature. Then, the second part of this paper discusses the proposed language features, also considering the conceptual similarities and differences with the related features normally available in mainstream programming languages. In particular, the proposed language features are presented in terms of three language improvements: the general-purpose support to handle exceptions, the specific support to handle behaviour failures, and the specific support to handle stale messages. Finally, before concluding with some indications on future research activities, the third part of this paper describes a concrete example intended to practically present the actual use of the new language features.
Reference40 articles.
1. Baldoni M. , Baroglio C. , Tedeschi S. , Micalizio R. Distributing responsibilities for exception handling in JaCaMo, In Proceedings of the 20th International Conference on Autonomous Agents and Multiagent Systems (AAMAS 2021), International Foundation for Autonomous Agents and Multiagent Systems, 2021, pp. 1752–1754.
2. Exception handling in SARL as a responsibility distribution;Baldoni;Procedia Computer Science,2022
3. Bellifemine F. , Bergenti F. , Caire G. , Poggi A. JADE – A Java Agent DEvelopment frame-work, In Multi-Agent Programming, volume 25 of Multiagent Systems, Artificial Societies, and Simulated Organizations, Springer 2005, pp. 125–147.
4. Bellifemine F. , Caire G. , Greenwood D. Developing Multi-Agent Systems with JADE. Wiley Series in Agent Technology, John Wiley & Sons, 2007.
5. Bergenti F. An introduction to the JADEL programming language, In Proceedings of the 26th IEEE International Conference on Tools with Artificial Intelligence (ICTAI 2014), IEEE, 2014, pp. 974–978.