The method signatures for
- public static User getStorageUser(int uid, Context context)
- public static User getStorageUser(int uid, int contextId)
- public static User getStorageUser(Session session)
have been changed to throw com.openexchange.exception.OXException from now on. Formerly they returned NULL in case of a missing user object. Now an according exception is thrown.
Additionally those methods have been marked as deprecated. User objects should always be loaded via com.openexchange.user.UserService.
- public static User getStorageUser(int uid, Context context)
- public static User getStorageUser(int uid, int contextId)
- public static User getStorageUser(Session session)
have been changed to throw com.openexchange.exception.OXException from now on. Formerly they returned NULL in case of a missing user object. Now an according exception is thrown.
Additionally those methods have been marked as deprecated. User objects should always be loaded via com.openexchange.user.UserService.