Class XmlRpcKit.UnavailableKit

  • Enclosing class:
    XmlRpcKit

    private static class XmlRpcKit.UnavailableKit
    extends XmlRpcKit
    XmlRpcKit implementation which always returns false from isAvailable and throws exceptions from getServer/Client factory methods.
    • Field Detail

      • name_

        private final java.lang.String name_
      • error_

        private final java.lang.Throwable error_
    • Constructor Detail

      • UnavailableKit

        UnavailableKit​(java.lang.String name,
                       java.lang.Throwable error)
        Constructor.
        Parameters:
        kit - name
        error - the reason the kit is unavailable
    • Method Detail

      • getName

        public java.lang.String getName()
        Description copied from class: XmlRpcKit
        Returns the name of this kit.
        Specified by:
        getName in class XmlRpcKit
        Returns:
        implementation name
      • toString

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