Added common exceptions to common library.