Class ServiceExceptionDetail

  • Direct Known Subclasses:
    UnknownServiceExceptionDetail

    public class ServiceExceptionDetail
    extends java.lang.Object
    A service exception detail consists of a standard exception code and an additional message.
    • Method Detail

      • getMessage

        public java.lang.String getMessage()
      • toString

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

        public int getCode()
      • hashCode

        public int hashCode()
        Overridden hashCode method which takes the message and an arbitrary hash as base.
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overridden equals that includes the comparison of service exception details.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        obj - an object