removed unused Exception class and references to it.