Class UnhealthyServer

  • All Implemented Interfaces:
    java.io.Serializable

    public class UnhealthyServer
    extends java.lang.RuntimeException
    See Also:
    Serialized Form
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static UnhealthyServer.Builder builder()  
      java.util.Optional<java.lang.String> code()  
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      java.lang.String toString()  
      UnhealthyServer withCode​(java.lang.String code)  
      UnhealthyServer withCode​(java.util.Optional<java.lang.String> code)  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • UnhealthyServer

        public UnhealthyServer​(java.util.Optional<java.lang.String> code)
      • UnhealthyServer

        public UnhealthyServer()
    • Method Detail

      • code

        public java.util.Optional<java.lang.String> code()
      • withCode

        public UnhealthyServer withCode​(java.util.Optional<java.lang.String> code)
      • 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