@@ -127,12 +127,11 @@ [_delegate elementBuilder: self didNotExpectCloseTag: name prefix: prefix namespace: namespace]; else - @throw [OFMalformedXMLException - exceptionWithClass: [self class]]; + @throw [OFMalformedXMLException exception]; return; case 1: [_delegate elementBuilder: self didBuildElement: [_stack firstObject]];