Add exceptions.
Test exceptions in LogSpi.
Add sonarqube support