Implemented exception based error indication.