A nice how are ya
When something annoying happens, or an unexpected event, usually bad news.
Heard in Tipperary
My yung lad got cot wid dim owl drug yokes, wasn't dat a nice how are ya. whin de gards pulled up at de gate.

Do excuse my tweed.
Here it is in posh English.
My young fellow was apprehended with those disreputable pharmaceutical trinkets, which proved to be a rather unfortunate turn of events when the constabulary arrived at the gate.
Updated