Reflection gives your code access to internal information for classes loaded into the JVM and allows you to write code that works with classes selected during execution, not in the source code. This makes reflection a great tool for building flexible applications. But watch out -- if used inappropriately, reflection can be costly.The following article describes a fraction of the functionality which you can achieve with the use of reflection and I will describe how you can use reflection to modify and read otherwise not-accessible field-attributes of classes.
Tags: java
Working with exceptions in Java has become among developers a common task. Most of the time, however, the concept of exceptions is misunderstood.
An exception-condition prevents the continuation of a method or the scope that your are in. In some instances you will have sufficient information in the current context to fix the problem. In most of the instances, however, you will not have enough information and you have to hand the problem out to a higher context where someone is qualified to maker the proper decision.
