DEVEN-175 replaced NotImplementedException from sun with that from apache