Class Messages

java.lang.Object
fr.utc.miage.sporttrack.util.Messages

public final class Messages extends Object
Centralized error and information messages for the SportTrack application. Provides consistent messaging across controllers and services.
Author:
SportTrack Team
  • Field Details

    • PASSWORD_MISMATCH

      public static final String PASSWORD_MISMATCH
      Error message when password confirmation does not match.
      See Also:
    • INVALID_REGISTRATION

      public static final String INVALID_REGISTRATION
      Error message for invalid registration.
      See Also:
    • SPORT_NOT_FOUND

      public static final String SPORT_NOT_FOUND
      Error message when sport is not found.
      See Also:
    • ACTIVITY_NOT_FOUND

      public static final String ACTIVITY_NOT_FOUND
      Error message when activity is not found.
      See Also:
    • BADGE_NOT_FOUND

      public static final String BADGE_NOT_FOUND
      Error message when badge is not found.
      See Also:
    • CHALLENGE_NOT_FOUND

      public static final String CHALLENGE_NOT_FOUND
      Error message when challenge is not found.
      See Also:
    • ATHLETE_NOT_FOUND

      public static final String ATHLETE_NOT_FOUND
      Error message when user/athlete is not found.
      See Also:
    • ACTIVITY_CREATION_RESERVED

      public static final String ACTIVITY_CREATION_RESERVED
      Error message when activity creation is reserved for athletes.
      See Also:
    • INVALID_ACTIVITY

      public static final String INVALID_ACTIVITY
      Error message for invalid activity.
      See Also:
    • INVALID_SPORT_SELECTION

      public static final String INVALID_SPORT_SELECTION
      Error message for invalid sport selection.
      See Also:
    • SELECTED_SPORT_NOT_FOUND

      public static final String SELECTED_SPORT_NOT_FOUND
      Error message when selected sport is not found.
      See Also:
    • INVALID_CHALLENGE_DATES

      public static final String INVALID_CHALLENGE_DATES
      Error message for invalid challenge dates.
      See Also:
    • FRIEND_REQUEST_SENT

      public static final String FRIEND_REQUEST_SENT
      Success message for friend request sent.
      See Also:
    • FRIEND_REQUEST_ACCEPTED

      public static final String FRIEND_REQUEST_ACCEPTED
      Success message for friend request accepted.
      See Also:
    • FRIEND_REQUEST_REJECTED

      public static final String FRIEND_REQUEST_REJECTED
      Success message for friend request rejected.
      See Also:
    • FRIEND_REMOVED

      public static final String FRIEND_REMOVED
      Success message for friend removed.
      See Also:
    • USER_BLOCKED

      public static final String USER_BLOCKED
      Success message for user blocked.
      See Also:
    • USER_UNBLOCKED

      public static final String USER_UNBLOCKED
      Success message for user unblocked.
      See Also: