Adam Warren

New York Yankees pitcher Adam Warren delivers against the Chicago White Sox during the first inning of a baseball game at Yankee Stadium in New York. The Yankees traded Warren, and a player to be named later, to the Chicago Cubs in exchange for infielder Starlin Castro, the Yankees announced Tuesday, Dec. 8, 2015. (Bill Kostroun | AP)

Two weeks ago the Yankees traded for second baseman Starlin Castro from the Chicago Cubs, shipping right-hander Adam Warren out in exchange.

Warren said he found out about the news while on vacation.

"We were in St. Lucia," Warren told MLB Network last Friday of the trade that went down on December 8. "My biggest rule when we go out of the country is to turn your phone off, put them into the safe in the room, and basically get away from technology."

PLUS: Nova out? No takers, report says

So he and his wife did that. But Warren said on the night the trade, they happened to be in one of the few restaurant spots where there was a television. He said he saw on ESPN that the Yankees had made a trade, but didn't know who was involved.

"I'm like, 'Hmm, I need to figure out who was in this deal,'" Warren said. "I had my wife's old phone just to take pictures with and it didn't even have service but we connected it to Wi-Fi and sure enough, my name was in the trade.

"We were actually talking to some people and about 30 minutes later we walked out of the restaurant and my wife just started bawling. I was not really sure what to do. We stayed up pretty much all night trying to figure out what to do. Going through all the scenarios and just trying to process the feeling."

Warren said finding out that way was "weird" because he didn't have a chance to talk on the phone with either organization. The 28-year-old said it took three or four days until they were back in the country to fully talk to everyone. When he was finally able to talk to the Cubs, he said, he started to feel "OK" with the trade.

After making 14 starts last season Warren was shipped to the bullpen and became the team's long-man in relief. He was solid. Warren had the team's second-best ERA as a starter (3.66) and posted a 2.29 ERA in 35.1 relief innings.

He helped clinch the team's Wild Card berth on October 1. After the game Girardi called him "invaluable" to the team.

Ryan Hatch may be reached at rhatch@njadvancemedia.com. Follow him on Twitter @ryanhatch. Find NJ.com on Facebook.