             result.m = requireM
 
             if tokenizer.accept(.MEASURED) == nil {
-                throw ParseError.unexpectedToken(errorMessage(tokenizer, expectedToken: .MEASURED))
+                throw WKTReaderError.unexpectedToken(errorMessage(tokenizer, expectedToken: .MEASURED))
             }
         } else {
             result.m = tokenizer.accept(.MEASURED) != nil

        }

        if tokenizer.accept(.LEFT_PAREN) == nil {
            throw ParseError.unexpectedToken(errorMessage(tokenizer, expectedToken: .LEFT_PAREN))
        }

        var elements = [LineString<CoordinateType>]()

        }

        if tokenizer.accept(.LEFT_PAREN) == nil {
            throw WKTReaderError.unexpectedToken(errorMessage(tokenizer, expectedToken: .LEFT_PAREN))
        }

        var elements = [Geometry]()
