# Copyright (c) ZeroC, Inc.

# slice2py version 3.8.1

from __future__ import annotations
import IcePy

from Ice.UserException import UserException

from dataclasses import dataclass


@dataclass
class RemoteLoggerAlreadyAttachedException(UserException):
    """
    Thrown when the provided :class:`Ice.RemoteLoggerPrx` was previously attached to a :class:`Ice.LoggerAdminPrx`.
    
    Notes
    -----
        The Slice compiler generated this exception dataclass from Slice exception ``::Ice::RemoteLoggerAlreadyAttachedException``.
    """

    _ice_id = "::Ice::RemoteLoggerAlreadyAttachedException"

_Ice_RemoteLoggerAlreadyAttachedException_t = IcePy.defineException(
    "::Ice::RemoteLoggerAlreadyAttachedException",
    RemoteLoggerAlreadyAttachedException,
    (),
    None,
    ())

setattr(RemoteLoggerAlreadyAttachedException, '_ice_type', _Ice_RemoteLoggerAlreadyAttachedException_t)

__all__ = ["RemoteLoggerAlreadyAttachedException", "_Ice_RemoteLoggerAlreadyAttachedException_t"]
