Class PiErrorString

  • All Implemented Interfaces:
    PiData

    @Beta
    public final class PiErrorString
    extends Object
    implements PiData
    ErrorString entity in a protocol-independent pipeline.
    • Method Detail

      • of

        public static PiErrorString of​(String errorString)
        Returns a new protocol-independent error string.
        Parameters:
        errorString - error string
        Returns:
        error string
      • errorString

        public String errorString()
        Return protocol-independent error string instance.
        Returns:
        error string
      • type

        public PiData.Type type()
        Description copied from interface: PiData
        Returns the type of this protocol-independent data.
        Specified by:
        type in interface PiData
        Returns:
        the type of this instance
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object