Implemented throw statement.