GEP-72: customise exception message via singleton Java class.