Class UserHasAlreadyReactedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.example.blogs.app.api.reaction.exception.UserHasAlreadyReactedException
All Implemented Interfaces:
Serializable

public class UserHasAlreadyReactedException extends RuntimeException
Exception thrown when a user attempts to create a duplicate reaction.
See Also:
  • Constructor Details

    • UserHasAlreadyReactedException

      public UserHasAlreadyReactedException(Exception cause)
      Constructs a new exception with a default message and cause.
      Parameters:
      cause - the underlying exception that caused the failure