Class ClientErrorCondition

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String condition()  
      java.lang.String description()
      Descriptive text that supplies any supplementary details not indicated by the condition value..
      java.util.Map<java.lang.String,​java.lang.Object> info()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ClientErrorCondition

        public ClientErrorCondition​(ErrorCondition condition)
        Create a new ClientErrorCondition that is a copy of the provided instance.
        Parameters:
        condition - The ErrorCondition whose information should be copied to the new value.
      • ClientErrorCondition

        public ClientErrorCondition​(java.lang.String condition,
                                    java.lang.String description,
                                    java.util.Map<java.lang.String,​java.lang.Object> info)
        Create a new ClientErrorCondition instance with the given error information
        Parameters:
        condition - The condition value that defines the error type.
        description - A meaningful description of the error.
        info - Any additional information that must accompany the error.
    • Method Detail

      • condition

        public java.lang.String condition()
        Specified by:
        condition in interface ErrorCondition
        Returns:
        a value that indicates the type of error condition.
      • description

        public java.lang.String description()
        Description copied from interface: ErrorCondition
        Descriptive text that supplies any supplementary details not indicated by the condition value..
        Specified by:
        description in interface ErrorCondition
        Returns:
        supplementary details not indicated by the condition value..
      • info

        public java.util.Map<java.lang.String,​java.lang.Object> info()
        Specified by:
        info in interface ErrorCondition
        Returns:
        a Map carrying information about the error condition.