Throw exception when try to use a format that doesn't registered