Added custom exception.
Implemented UnreachableCode exception.