Class ResponseConversionException

    • Constructor Detail

      • ResponseConversionException

        public ResponseConversionException​(String message,
                                           URI resource,
                                           Class<?> type)
        Instantiates an exception for the given resource location and type for extracting from the response entity.
        Parameters:
        message - the exception message.
        resource - the resource location on which a request was made.
        type - the Java type the response entity was to convert to.
    • Method Detail

      • getResource

        public URI getResource()
        Returns the resource location.
        Returns:
        the resource location.
      • getType

        public Class<?> getType()
        Returns the Java type the response entity was to convert to.
        Returns:
        the Java type the response entity was to convert to.