Fichas
Exceptions
Fichas del conjunto (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
Información
- Descripción
- MSP IP Fichas sobre Exceptions, creado por Ruth Reynders el 02/06/2016.
- Creado por
- Ruth Reynders
- Visitas
- 0
- Valoración