Karteikarten
Exceptions
Karten in diesem Stapel (3)
- 1Validating data
- 2Checked exceptions1. Declare or catch rule (throws or try-catch):
- usually not solvable in code
- show message to user
2. Solution:
- declare in business layers
- catch and declare in ui
- extends Exception
3. exception per layer
4. wrap thrown exceptions
- lot of plumbing work - 3Unchecked exceptions1. No need to declare
2. Remember to catch them eventually
3. extens RuntimeException
Informationen
- Beschreibung
- MSP IP Karteikarten am Exceptions, erstellt von Ruth Reynders am 02/06/2016.
- Erstellt von
- Ruth Reynders
- Aufrufe
- 0
- Bewertung