Skip to main content

Exception Handling in Context-Aware Agent Systems: A Case Study

  • Conference paper
Software Engineering for Multi-Agent Systems V (SELMAS 2006)

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 4408))

  • 293 Accesses

Abstract

Handling erroneous conditions in context-aware mobile agent systems is challenging due to their intrinsic characteristics: openness, lack of structuring, mobility, asynchrony and increased unpredictability. Even though several context-aware middleware systems now support the development of mobile agent-based applications, they rarely provide explicit and adequate features for context-aware exception handling. This paper reports our experience in implementing error handling strategies in some prototype context-aware collaborative applications built with the MoCA (Mobile Collaboration Architecture) system. MoCA is a publish-subscribe middleware supporting the development of collaborative mobile applications by providing explicit services that empower software agents with context-awareness. We propose a novel context-aware exception handling mechanism and discuss some lessons learned during its integration in the MoCA infrastructure.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Abowd, G.D., Dey, A.K., Brown, P.J., Davies, N., Smith, M., Steggles, P.: Towards a Better Understanding of Context and Context-Awareness. In: Gellersen, H.-W. (ed.) HUC 1999. LNCS, vol. 1707, pp. 304–307. Springer, Heidelberg (1999)

    Chapter  Google Scholar 

  2. Abowd, G.D., Dey, A.K., Brown, P.J., Davies, N., Smith, M., Steggles, P.: Towards a Better Understanding of Context and Context-Awareness. In: Gellersen, H.-W. (ed.) HUC 1999. LNCS, vol. 1707, pp. 304–307. Springer, Heidelberg (1999)

    Chapter  Google Scholar 

  3. Dey, A.: Understanding and Using Context. Personal Ubiquitous Comput. 5(1), 4–7 (2001)

    Article  Google Scholar 

  4. Schilit, B.N., Adams, R., Want, R.: Context-aware computing applications. In: Proc. Workshop on Mobile Computing Systems and Applications, December 1994, IEEE Computer Society Press, Los Alamitos (1994)

    Google Scholar 

  5. Davidyuk, O., et al.: Context-aware middleware for mobile multimedia applications. In: Proc. of the 3rd international Conference on Mobile and Ubiquitous Multimedia, College Park, Maryland, October 27-29, 2004, vol. 83, pp. 213–220. ACM Press, New York (2004)

    Chapter  Google Scholar 

  6. Iliasov, A., Romanovsky, A.: CAMA: Structured Communication Space and Exception Propagation Mechanism for Mobile Agents. In: ECOOP-EHWS, Glasgow, 19 July (2005)

    Google Scholar 

  7. Muthusamy, V., et al.: Publisher Mobility in Distributed Publish/Subscribe Systems. In: Fourth International Workshop on Distributed Event-Based Systems (DEBS), ICDCSW’05 (2005)

    Google Scholar 

  8. Cugola, G., Cote, J.E.M.: On Introducing Location Awareness in Publish-Subscribe Middleware. In: Fourth International Workshop on Distributed Event-Based Systems (DEBS), ICDCSW’05 (2005)

    Google Scholar 

  9. Gelernter, D.: Generative communication in Linda. ACM Trans. Program. Lang. Syst. 7(1), 80–112 (1985)

    Article  MATH  Google Scholar 

  10. Blair, G., et al.: An architecture for next generation middleware. In: Proceedings of the IFIP International Conference on Distributed Systems Platforms and Open Distributed Processing, Springer, London (1998)

    Google Scholar 

  11. Tripathi, A.: Challenges designing next-generation middleware systems. Commun. ACM 45(6), 39–42 (2002)

    Article  Google Scholar 

  12. Smith, B.C.: Procedural Reflection in Programming Languages. These (Phd) —Massachusetts Institute of Technology (1982)

    Google Scholar 

  13. Roman, M., Kon, F., Campbell, R.H.: Reflective Middleware: From Your Desk to Your Hand. IEEE Distributed Systems Online Journal 2(5) (2001)

    Google Scholar 

  14. Sacramento, V., et al.: MoCA: A Middleware for Developing Collaborative Applications for Mobile Users. IEEE Distributed Systems Online 5(10) (2004)

    Google Scholar 

  15. Sharples, S., Callaghan, V., Clarke, G.: A Multi-Agent Architecture for Intelligent Building Sensing and Control. International Sensor Review Journal (May 1999)

    Google Scholar 

  16. Shadbolt, N.: Ambient intelligence. IEEE Trans. Intell. Transp. Syst. 18(4), 2–3 (2003)

    Article  Google Scholar 

  17. Souchon, F., Dony, C., Urtado, C., Vauttier, S.: Improving exception handling in multi-agent systems. In: Lucena, C., Garcia, A., Romanovsky, A., Castro, J., Alencar, P.S.C. (eds.) SELMAS 2003. LNCS, vol. 2940, pp. 167–188. Springer, Heidelberg (2004)

    Google Scholar 

  18. Silva, O., Garcia, A., Lucena, C.: The Reflective Blackboard Pattern: Architecting Large-Scale Multi-Agent Systems. In: Garcia, A.F., de Lucena, C.J.P., Zambonelli, F., Omicini, A., Castro, J. (eds.) Software Engineering for Large-Scale Multi-Agent Systems. LNCS, vol. 2603, pp. 76–97. Springer, Heidelberg (2003)

    Google Scholar 

  19. Silva, O., Garcia, A., Lucena, C.: T-Rex: A Reflective Tuple Space Environment for Dependable Mobile Agent Systems. In: Proc. IEEE Workshop on Wireless Communication and Mobile Computation (WCSF’01), Recife, Brazil (Aug. 2001)

    Google Scholar 

  20. Garcia, A.F., Rubira, C.M.F., Romanovsky, A., Xu, J.: A Comparative Study of Exception Handling Mechanisms for Building Dependable Object Oriented Software. Journal of Systems and Software 59, 197–222 (2001)

    Article  Google Scholar 

  21. Goodenough, J.B.: Exception handling: issues and a proposed notation. Commun 18(12), 683–696 (1975)

    MATH  MathSciNet  Google Scholar 

  22. Tripathi, A., Kulkarni, D., Ahmed, T.: Exception Handling Issues in Context Aware Collaboration Systems for Pervasive Computing. In: Romanovsky, A., Dony, C., Knudsen, J.L., Tripathi, A. (eds.) Developing Systems that Handle Exceptions, Proc. ECOOP 2005 Workshop on Exception Handling in Object Oriented Systems, TR 05-050, LIRMM, Montpellier-II University, France (July 2005)

    Google Scholar 

  23. Capra, L., Emmerich, W., Mascolo, C.: CARISMA: Context-Aware Reflective Middleware System for Mobile Applications. IEEE Transactions on Software Engineering 29(10), 929–944 (2003)

    Article  Google Scholar 

  24. Klein, M., Dellarocas, C.: Exception Handling in Agent Systems. In: Proc. of the 3rd Int. Conference on Autonomous Agents, Seattle, WA, May 1-5, 1999, pp. 62–66 (1999)

    Google Scholar 

  25. Anderson, T., Lee, P.A.: Fault Tolerance: Principles andPractice, 2nd edn. Prentice-Hall, Englewood Cliffs (1990)

    Google Scholar 

  26. Keen, A.W., Olsson, R.A.: Exception Handling during Asynchronous Method Invocation. In: Monien, B., Feldmann, R.L. (eds.) Euro-Par 2002. LNCS, vol. 2400, pp. 656–660. Springer, Heidelberg (2002)

    Chapter  Google Scholar 

  27. Raje, R.R., William, H.I.: William and Boyles, B. An Asynchronous Remote Method Invocation (ARMI) Mechanism for Java. In: Concurrency: Practice and Experience, vol. 9, pp. 1207–1211. John Wiley & Sons, Chichester (1997)

    Google Scholar 

  28. Caromel, D., Chazarain, G.: Robust exception handling in an asynchronous environment. In: Romanovsky, A., Dony, C., Knudsen, J. L., Tripathi, A (eds.) Developing Systems that Handle Exceptions, Proc. ECOOP, Workshop on Exception Handling in Object Oriented Systems, TR 05-050, LIRMM, Montpellier-II University, France (July 2005)

    Google Scholar 

  29. Roman, G., Julien, C., Huang, Q.: Network abstractions for context-aware mobile computing. In: Proceedings of the 24th international Conference on Software Engineering, ICSE ’02, Orlando, Florida, May 19 - 25, 2002, pp. 363–373. ACM Press, New York (2002)

    Chapter  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Ricardo Choren Alessandro Garcia Holger Giese Ho-fung Leung Carlos Lucena Alexander Romanovsky

Rights and permissions

Reprints and permissions

Copyright information

© 2007 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Cacho, N., Damasceno, K., Garcia, A., Romanovsky, A., Lucena, C. (2007). Exception Handling in Context-Aware Agent Systems: A Case Study. In: Choren, R., Garcia, A., Giese, H., Leung, Hf., Lucena, C., Romanovsky, A. (eds) Software Engineering for Multi-Agent Systems V. SELMAS 2006. Lecture Notes in Computer Science, vol 4408. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-73131-3_4

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-73131-3_4

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-73130-6

  • Online ISBN: 978-3-540-73131-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics