<>Articles:

A very good document, if you want to improve your code, Click HERE to download it

This paper informs about design and implementation of error handling facilities in business information systems. It presents a pattern language for the object oriented design of components needed for error handling and also present sample code in different programming languages (C++, Java, Cobol, Smalltalk).
List of Patterns

Error Object, Exception Hierarchy , Error Traps, Assertion Checking Object, Backtrace , Centralized Error Logging, Error Handler, Default Error Handling, Error Dialog, Resource Preallocation, Checkpoint Restart, Exception Abstraction, Exception Wrapper, Multithread Exception Handling

found at: http://www.objectarchitects.de/arcus/cookbook/exhandling/index.htm

List of Patterns
To get a better idea of the various patterns and the problems they are related to, we list all pattern names together with page references and questions defining the problems:

Error Object * What characterizes an error? How to structure and administrate error information?

Exception Hierarchy * How to structure error types? What role does inheritance play in the structuring of errors?

Error Traps * What indicators are useful to detect erroneous situations and where to install the traps in the application code?

Assertion Checking Object * How to implement Error Traps in an object oriented language without using a generative approach?

Backtrace * How to collect and trace useful information for the system developers or the maintenance team, so that it supports them by the analysis of the error situation? Especially, if we have no or limited access to the stack administered by the system itself.

Centralized Error Logging * How do you organize exception reporting so that you can offer your maintenance personnel good enough information for analyzing the branch offices problems?

Error Handler * Where and how do you handle errors?

Default Error Handling * How do you ensure that you handle every possible exception correctly (no unhandled exception and limited damage)?

Error Dialog * How to signal errors to an application user?

Resource Preallocation * How to ensure error processing although resources are short?

Checkpoint Restart * How do you avoid a complete rerun of a batch as a result of an error?

Exception Abstraction * How do you generate reasonable error messages without violating abstraction levels?

Exception Wrapper * How do you integrate a ready-to-use library into your exception handling system?

Multithread Exception Handling * How to schedule exceptions in a multithread environment?

 



Softwares:

Analysis

Structural Analysis for Java "SA4J is a technology that analyzes structural dependencies of Java applications in order to measure their stability. It detects structural "anti-patterns" (suspicious design elements) and provides dependency web browsing for detailed exploration of anti-patterns in the dependency web. SA4J also enables "what if" analysis in order to assess the impact of change on the functionality of the application; and it offers guidelines for package re-factoring."
   

Metrics

Metrics sourceforge
eclipse plugin
 
   

You might like also

No Thumbnail was found
"I format my code like that", yes but every developer format his code differently ..."Why having java collection if you can not use the directly", this speak of course against encapsulation and clear APIs..."I put accessors at the end" "i want to see relevant code at the beginning of classes and in the same order as execution" simply b... and not object oriented at all, they do not think about object message but files"I never use the keywords this, it …
4649 Days ago
JDK 6 Release Candidate
Java Platform, Standard Edition 6 is a major feature release. Significant features and enhancements in #Java SE 6 since the prior major release, J2SE 5.0 are all listed on that page. You can download the Release Candidate HERE …
4775 Days ago
No Thumbnail was found
From www.devsource.com"Scripting languages have long been regarded by the programming world as poor country cousins, somehow inferior to the "real" programming languages. Yet, according to Evans Data Corp.'s Fall 2004 North American Development Survey, a lot of "real" programmers are adding scripting to their arsenals of programming tools. The research firm reports that over 41 percent of the 666 developers surveyed use Perl, 32 percent use PHP, and 15.6 percent use Python, with considerable overlap (other scripting languages were not …
5373 Days ago
No Thumbnail was found
Sample Chapter are provided courtesy of Addison Wesley Professional and can be read at www.informit.comWhat Is Refactoring? A refactoring is a "behavior-preserving transformation" or, as Martin Fowler defines it, "a change made to the internal structure of software to make it easier to understand and cheaper to modify without changing its observable behavior" (Fawler, page 53) read more here …
5419 Days ago
No Thumbnail was found
A collections of links, this time. A lot of persons have already done a stunning job:Sun #Java Center - J2EE Patterns: The J2EE Patterns presented here, a collection of J2EE-based solutions to common problems, reflect the collective expertise and experience of #Java technology architects in the Sun #Java Center over the past three years.Wiki pattern catalog with some famous contributors like Kent Beck and co.The server side: get the latest informations on Patterns.Javaworld a list of articles …
5438 Days ago
No Thumbnail was found
In this article, an excerpt from Test-Driven Development: A J2EE Example (Apress, 2004), author Thomas Hammell helps you select the right tools for getting started with test-driven development (TDD) ... Following the Keep It Simple, Stupid (KISS) and You Aren't Gonna Need It (YAGNI) rules of extreme programming (XP), each tool listed in the following sections fits into the TDD process ... more Here …
5480 Days ago
No Thumbnail was found
SableVM is a highly-portable #Java virtual machine written in C, and implementing the #Java virtual machine specification, second edition. I ti s currently able to start and use #Eclipse 3.1 On the JVM side, #Java on BeOs is making huge steps …
5486 Days ago
No Thumbnail was found
Some links that may help You preparing the SUN java certification... Free SCBCD 1.3 Study Guide Free SCWCD 1.4 Study Guide Free SCDJWS 1.4 Study Guide SCDJWS 1.4 Quiz Free IBM Certified Associate Developer Study Guide www.javaranch.com and more precisely HERE …
5501 Days ago
No Thumbnail was found
Meta-Patterns: Design Patterns Explained Moisés Daniel Díaz Toledano. Email : This email address is being protected from spambots. You need JavaScript enabled to view it. www.moisesdaniel.com MetaPatterns can be contemplated like a form of understanding the underlying mechanisms of patterns and the form in which they work, and even as a new patterns’ classification. The principal objective of patterns is capturing good practices that allow us to improve the quality of the design of systems, determining objects that support useful roles in a specific context, encapsulating complexity, and making it more flexible.We can observe …
5550 Days ago
No Thumbnail was found
Books:Softwares:AnalysisStructural Analysis for #Java "SA4J is a technology that analyzes structural dependencies of #Java applications in order to measure their stability. It detects structural "anti-patterns" (suspicious design elements) and provides dependency web browsing for detailed exploration of anti-patterns in the dependency web. SA4J also enables "what if" analysis in order to assess the impact of change on the functionality of the application; and it offers guidelines for package re-factoring." MetricsMetrics sourceforgeeclipse plugin …
5578 Days ago