Class SessionErrorContext

    • Constructor Detail

      • SessionErrorContext

        public SessionErrorContext​(String namespace,
                                   String entityPath)
        Creates a new instance with the namespace and entityPath.
        Parameters:
        namespace - The service namespace of the error.
        entityPath - The remote endpoint this AMQP session is connected to when the error occurred.
        Throws:
        IllegalArgumentException - if namespace or entityPath is null or empty.
    • Method Detail

      • getEntityPath

        public String getEntityPath()
        Gets the remote path this AMQP entity was connected to when the error occurred.
        Returns:
        the remote path this AMQP entity was connected to when the error occurred.
      • toString

        public String toString()
        Description copied from class: AmqpErrorContext
        Creates a string representation of this ErrorContext.
        Overrides:
        toString in class AmqpErrorContext
        Returns:
        A string representation of this ErrorContext.