Java
- Home /
- Categories /
- Java
Data Validation Overview
What is Validation? Validation ensures data integrity by asserting conditions against data. Examples: Is a value required? What is the maximum length of a string? Is a given date valid? Often referred to as “defensive programming” or “trust but verify.” An essential but often overlooked step in software development.
Read MoreJava Basics: Exceptions
What are Exceptions? An exception is an event, commonly it is a problem that arises during the execution of a program. When an Exception occurs the normal progris disrupted and the program/Application terminates abnormally, which is not recommended. Unexpected termination of an Application is never wanted and this is why exceptions should be handled, so that the Application lets the User know that some Error or Problem exists, but the Application itself should not just die without any information.
Read More