All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.dronesecurity.userapplication.domain.user.exceptions.UserAlreadyLoggedException Maven / Gradle / Ivy

/*
 * Copyright (c) 2021-2022, Mirko Felice & Maxim Derevyanchenko. All rights reserved.
 * Licensed under the MIT license. See LICENSE file in the project root for details.
 */

package io.github.dronesecurity.userapplication.domain.user.exceptions;

import io.github.dronesecurity.userapplication.domain.user.entities.contracts.User;

/**
 * Exception thrown if {@link User} is already logged into the system.
 */
public class UserAlreadyLoggedException extends IllegalStateException {

    private static final long serialVersionUID = 1L;

    /**
     * Build the exception.
     */
    public UserAlreadyLoggedException() {
        super("User is already logged in!");
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy