Class UnsupportedVersionException

    • Field Detail

      • unsupportedVersion

        protected String unsupportedVersion
        The unsupported version that was requested for the some resource.
      • resourceName

        protected String resourceName
        The name of the resource that the unsupportedVersion was requested for.
    • Constructor Detail

      • UnsupportedVersionException

        public UnsupportedVersionException​(String message)
        Constructs this exception with the given error message.
        Parameters:
        message - The error message describing the error.
      • UnsupportedVersionException

        public UnsupportedVersionException​(String message,
                                           String unsupportedVersion)
        Constructs this exception with the given error message and unsupported version that was requested for some resource.
        Parameters:
        message - The error message describing the error.
        unsupportedVersion - the unsupported version of the requested resource.
      • UnsupportedVersionException

        public UnsupportedVersionException​(String message,
                                           String resourceName,
                                           String unsupportedVersion)
        Constructs this exception with the given error message, resource name, and unsupported version of the resource.
        Parameters:
        message - The error message describing the error.
        resourceName - The name of the Ethos resource.
        unsupportedVersion - The unsupported version of the resource.
    • Method Detail

      • getUnsupportedVersion

        public String getUnsupportedVersion()
        Gets the unsupported version.
        Returns:
        The unsupported version value.
      • getResourceName

        public String getResourceName()
        Gets the name of the Ethos resource.
        Returns:
        The name of the Ethos resource for which an unsupported version was requested.