Class ScannerError


  • public final class ScannerError
    extends java.lang.Object
    • Constructor Detail

      • ScannerError

        @ConstructorProperties({"scannerId","message","cause"})
        public ScannerError​(java.lang.String scannerId,
                            java.lang.String message,
                            ScannerError cause)
    • Method Detail

      • toString

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

        public java.lang.String getScannerId()
      • getMessage

        public java.lang.String getMessage()
      • equals

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

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

        public ScannerError withScannerId​(java.lang.String scannerId)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withMessage

        public ScannerError withMessage​(java.lang.String message)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withCause

        public ScannerError withCause​(ScannerError cause)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).