Added Error to Exception handling