Added error message for IllegalFormatException