Added localizable exceptions and logging