Class RequestTimedOutResponse

  • All Implemented Interfaces:
    java.io.Serializable

    public class RequestTimedOutResponse
    extends java.lang.RuntimeException
    See Also:
    Serialized Form
    • Constructor Detail

      • RequestTimedOutResponse

        public RequestTimedOutResponse​(double statusCode,
                                       java.lang.String message,
                                       java.time.OffsetDateTime timestamp)
    • Method Detail

      • statusCode

        public double statusCode()
        HTTP status code
      • message

        public java.lang.String message()
        Error message
      • getMessage

        public java.lang.String getMessage()
        Overrides:
        getMessage in class java.lang.Throwable
      • timestamp

        public java.time.OffsetDateTime timestamp()
        Timestamp when the error occurred
      • withTimestamp

        public RequestTimedOutResponse withTimestamp​(java.time.OffsetDateTime timestamp)
        Timestamp when the error occurred
      • 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
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Throwable