On Java Development

All things related to Java development, from the perspective of a caveman.

Archive for the ‘Exceptions’ Category

Using Exceptions to Create UI Messages

without comments

Introduction

This post shows how to write methods so that any processing errors, such as a “policy not found” error, can be managed effectively in a consistent way. The approach applies standard Java exception handling using try/catch blocks to throw errors back to the caller that started the process. The caller will then catch the error for further processing such as displaying the error to the user. For more information about standard Java error exception handling, see this link.
Read the rest of this entry »

Written by admin

January 23rd, 2014 at 6:35 pm