SDAL: Exception Handling, Check for memory allocation and domain errors.