A federal judge has dismissed a lawsuit filed by oil giant ExxonMobil that sought to end probes being conducted by attorneys general in New York and Massachusetts to determine if the company misled investors and the public on climate change and its potential impact on their business.

The Manhattan judge, Valerie Caproni, said that Exxon's lawyer's argument that New York Attorney General Eric Schneiderman and Massachusetts Attorney General Maura Healey were pursuing their probes in bad faith is "implausible".

Ms Caproni dismissed the lawsuit without prejudice, which means that the oil company will not be able to bring the issue up again.

The states first began their probe following reports in 2015 that the company had determined in the 1970s and 1980s that reducing greenhouse gas emissions is necessary to combat global warming effects. The reports contend that the company then proceeded to downplay or ignore those concerns in dealings with the public and their shareholders.

Exxon has denied that their public policies were inconsistent with the findings of their scientists that climate change poses a serious risk.

Ms Healey and Mr Schneiderman have requested that Exxon hand over documents that could help their case, which the oil giant is fighting.

Lisa Murray's climate change photography Show all 12 1 /12 Lisa Murray's climate change photography Lisa Murray's climate change photography Dinka cattle herders starting their migration in South Sudan Lisa Murray Lisa Murray's climate change photography A Dinka woman fetches water in South Sudan Lisa Murray Lisa Murray's climate change photography Veronica in South Sudan preparing tea outside her home, recently ravaged by heavy flooding Lisa Murray Lisa Murray's climate change photography Children playing in Vietnam. When it floods, transport to and from school is a major challenge Lisa Murray Lisa Murray's climate change photography Sugeng, a fish and crab farmer from Indonesia who suffers financially every time the area floods Lisa Murray Lisa Murray's climate change photography Tan, a vegetable farmer, learning new methods through Oxfam in Vietnam Lisa Murray Lisa Murray's climate change photography Maluk, a 19-year-old from Tonj South, South Sudan Lisa Murray Lisa Murray's climate change photography Normally this farmer in South Sudan would be harvesting sorghum, but rains are late so the hunger season continues Lisa Murray Lisa Murray's climate change photography Herders bringing home their cattle in Afar, Ethiopia Lisa Murray Lisa Murray's climate change photography Farmers harvesting chilli in Ethiopia Lisa Murray Lisa Murray's climate change photography A woman in Tigray, Ethiopia, scares birds away from her crops with a slingshot Lisa Murray Lisa Murray's climate change photography Irula tribe woman in Tamil Nadu Lisa Murray

While New York and Massachusetts were the two states involved with the lawsuit in Manhattan, as many as 15 states are involved in investigating the company for potentially misleading people about the dangers of climate change.

The effort was first announced in early 2016, when the attorneys general provided a basic outline of how they would proceed. The officials then signed a private compact with one another not to discuss the probe with anyone not on their teams, unless required to do so by law.