Class ChannelException.FaultyMember

  • Enclosing class:
    ChannelException

    public static class ChannelException.FaultyMember
    extends java.lang.Object
    Represent a failure to a specific member when a message was sent to more than one member
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.Exception cause
      The cause of the failure.
      protected Member member
      The member that failed.
    • Constructor Summary

      Constructors 
      Constructor Description
      FaultyMember​(Member mbr, java.lang.Exception x)
      Construct a FaultyMember with the specified member and cause.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.lang.Exception getCause()
      Returns the cause of the failure.
      Member getMember()
      Returns the member that failed.
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • cause

        protected final java.lang.Exception cause
        The cause of the failure.
      • member

        protected final Member member
        The member that failed.
    • Constructor Detail

      • FaultyMember

        public FaultyMember​(Member mbr,
                            java.lang.Exception x)
        Construct a FaultyMember with the specified member and cause.
        Parameters:
        mbr - The member that failed
        x - The cause of the failure
    • Method Detail

      • getMember

        public Member getMember()
        Returns the member that failed.
        Returns:
        the member
      • getCause

        public java.lang.Exception getCause()
        Returns the cause of the failure.
        Returns:
        the cause
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object