Skip to main content

An Exception Monitoring System for Java

  • Conference paper

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

Abstract

Exception mechanism is important for the development of robust programs to make sure that exceptions are handled appropriately at run-time. In this paper, we develop a dynamic exception monitoring system, which can trace handling and propagation of thrown exceptions in real-time. With this tool, programmers can examine exception handling process in more details and handle exceptions more effectively. Programmers can also trace only interesting exceptions by selecting options before execution. It can also provides profile information after execution, which summarizes exception handling in each method during execution. To reduce performance overhead, we implement the system based on code inlining, and presents some experimental results.

This Research was supported by the Sookmyung Women’s University Research Grants 2004.

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

Buying options

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

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Bokowski, B., Spiegel, A.: Barat A Front-End for Java. Technical Report B-98-09 (December 1998)

    Google Scholar 

  2. Chang, B.-M., Jo, J., Yi, K., Choe, K.: Interprocedural Exception Analysis for Java. In: Proceedings of ACM Symposium on Applied Computing, March 2001, pp. 620–625 (2001)

    Google Scholar 

  3. Choi, J.-D., Grove, D., Hind, M., Sarkar, V.: Efficient and precise modeling of exceptions for analysis of Java programs. In: Proceedings of 1999 ACM SIGPLAN-SIGSOFT Workshop on Program Analysis for Software Tools and Engineering, September 1999, pp. 21–31 (1999)

    Google Scholar 

  4. Dufour, B., Driesen, K., Hendren, L., Verbrugge, C.: Dynamic Metrics for Java. In: Proceedings of ACM OOPSLA 2003, Anaheim, CA (October 2003)

    Google Scholar 

  5. Drossopoulou, S., Valkevych, T.: Java type soundness revisited. Techical Report, Imperial College (November 1999), Also available from: http://www-doc.ic.ac.uk/~scd

  6. Erlingsson, U.: The inlined reference monitor approach to secure policy enforcement, Ph.D thesis, Cornell University (January 2004)

    Google Scholar 

  7. Gamma, E., Helm, R., Johnson, R., Vlissides, J.: Design Patterns:Elements of Reusable Object-Oriented Software. Addison-Wesley, Reading (1995)

    Google Scholar 

  8. Gosling, J., Joy, B., Steele, G.: The Java Programming Language Specification. Addison-Wesley, Reading (1996)

    Google Scholar 

  9. Robillard, M.P., Murphy, G.C.: Analyzing exception flow in Java programs. In: Proc. of 1999 European Software Engineering Conference and ACM SIGSOFT Symposium on Foundations of Software Engineering, pp. 322–337 (1999)

    Google Scholar 

  10. Ryder, B.G., Smith, D., Kremer, U., Gordon, M., Shah, N.: A static study of Java exceptions using JESP, Tech. Rep. DCS-TR-403, Rutgers University (November 1999)

    Google Scholar 

  11. Sinha, S., Harrold, M.: Analysis and testing of programs with exception-handling constructs. IEEE Transations on Software Engineering 26(9) (2000)

    Google Scholar 

  12. Yi, K., Chang, B.-M.: Exception analysis for Java. In: ECOOP Workshop on Formal Techniques for Java Programs, Lisbon, Portugal (June 1999)

    Google Scholar 

  13. AdaptJ: A Dynamic Application Profiling Toolkit for Java, http://www.sable.mcgill.ca/~bdufou1/AdaptJ

  14. Sun Microsystems, J2ME Wireless Toolkit, http://java.sun.com

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2005 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Ohe, H., Chang, BM. (2005). An Exception Monitoring System for Java. In: Guelfi, N. (eds) Rapid Integration of Software Engineering Techniques. RISE 2004. Lecture Notes in Computer Science, vol 3475. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11423331_7

Download citation

  • DOI: https://doi.org/10.1007/11423331_7

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-25812-4

  • Online ISBN: 978-3-540-32039-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics