Interface ErrorResolver

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      ErrorResolverInfo get​(java.lang.String errorId)
      Returns some metadata about the given error_id.
      void get​(java.lang.String errorId, com.vmware.vapi.bindings.client.AsyncCallback<ErrorResolverInfo> asyncCallback)
      Returns some metadata about the given error_id.
      void get​(java.lang.String errorId, com.vmware.vapi.bindings.client.AsyncCallback<ErrorResolverInfo> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Returns some metadata about the given error_id.
      ErrorResolverInfo get​(java.lang.String errorId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Returns some metadata about the given error_id.
      ErrorResolverInfoList list()
      Returns a list of metadata for all the error resolvers registered.
      void list​(com.vmware.vapi.bindings.client.AsyncCallback<ErrorResolverInfoList> asyncCallback)
      Returns a list of metadata for all the error resolvers registered.
      void list​(com.vmware.vapi.bindings.client.AsyncCallback<ErrorResolverInfoList> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Returns a list of metadata for all the error resolvers registered.
      ErrorResolverInfoList list​(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Returns a list of metadata for all the error resolvers registered.
      void resolveerror​(ErrorResolverMetadataList errorResolverMetadataList)
      Invokes the corresponding error resolver for the given error(s) present in the payload
      void resolveerror​(ErrorResolverMetadataList errorResolverMetadataList, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
      Invokes the corresponding error resolver for the given error(s) present in the payload
      void resolveerror​(ErrorResolverMetadataList errorResolverMetadataList, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Invokes the corresponding error resolver for the given error(s) present in the payload
      void resolveerror​(ErrorResolverMetadataList errorResolverMetadataList, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Invokes the corresponding error resolver for the given error(s) present in the payload
    • Method Detail

      • get

        ErrorResolverInfo get​(java.lang.String errorId)
        Returns some metadata about the given error_id. This includes information of whether there is a resolver present for the given error_id and its associated user input data

        Synchronous method overload. Result of the invocation will be reported as a method return value.

        Parameters:
        errorId - (required)
        Returns:
        com.vmware.nsx_policy.model.ErrorResolverInfo
        Throws:
        com.vmware.vapi.std.errors.InvalidRequest - Bad Request, Precondition Failed
        com.vmware.vapi.std.errors.Unauthorized - Forbidden
        com.vmware.vapi.std.errors.ServiceUnavailable - Service Unavailable
        com.vmware.vapi.std.errors.InternalServerError - Internal Server Error
        com.vmware.vapi.std.errors.NotFound - Not Found
      • get

        ErrorResolverInfo get​(java.lang.String errorId,
                              com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Returns some metadata about the given error_id. This includes information of whether there is a resolver present for the given error_id and its associated user input data

        Synchronous method overload. Result of the invocation will be reported as a method return value. Use invocationConfig to specify configuration for this particular invocation.

        Parameters:
        errorId - (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.ErrorResolverInfo
        Throws:
        com.vmware.vapi.std.errors.InvalidRequest - Bad Request, Precondition Failed
        com.vmware.vapi.std.errors.Unauthorized - Forbidden
        com.vmware.vapi.std.errors.ServiceUnavailable - Service Unavailable
        com.vmware.vapi.std.errors.InternalServerError - Internal Server Error
        com.vmware.vapi.std.errors.NotFound - Not Found
      • get

        void get​(java.lang.String errorId,
                 com.vmware.vapi.bindings.client.AsyncCallback<ErrorResolverInfo> asyncCallback)
        Returns some metadata about the given error_id. This includes information of whether there is a resolver present for the given error_id and its associated user input data

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback.

        Invocation Result:
        com.vmware.nsx_policy.model.ErrorResolverInfo

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Parameters:
        errorId - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • get

        void get​(java.lang.String errorId,
                 com.vmware.vapi.bindings.client.AsyncCallback<ErrorResolverInfo> asyncCallback,
                 com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Returns some metadata about the given error_id. This includes information of whether there is a resolver present for the given error_id and its associated user input data

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback. Use invocationConfig to specify configuration for this particular invocation.

        Invocation Result:
        com.vmware.nsx_policy.model.ErrorResolverInfo

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Parameters:
        errorId - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • list

        ErrorResolverInfoList list()
        Returns a list of metadata for all the error resolvers registered.

        Synchronous method overload. Result of the invocation will be reported as a method return value.

        Returns:
        com.vmware.nsx_policy.model.ErrorResolverInfoList
        Throws:
        com.vmware.vapi.std.errors.InvalidRequest - Bad Request, Precondition Failed
        com.vmware.vapi.std.errors.Unauthorized - Forbidden
        com.vmware.vapi.std.errors.ServiceUnavailable - Service Unavailable
        com.vmware.vapi.std.errors.InternalServerError - Internal Server Error
        com.vmware.vapi.std.errors.NotFound - Not Found
      • list

        ErrorResolverInfoList list​(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Returns a list of metadata for all the error resolvers registered.

        Synchronous method overload. Result of the invocation will be reported as a method return value. Use invocationConfig to specify configuration for this particular invocation.

        Parameters:
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.ErrorResolverInfoList
        Throws:
        com.vmware.vapi.std.errors.InvalidRequest - Bad Request, Precondition Failed
        com.vmware.vapi.std.errors.Unauthorized - Forbidden
        com.vmware.vapi.std.errors.ServiceUnavailable - Service Unavailable
        com.vmware.vapi.std.errors.InternalServerError - Internal Server Error
        com.vmware.vapi.std.errors.NotFound - Not Found
      • list

        void list​(com.vmware.vapi.bindings.client.AsyncCallback<ErrorResolverInfoList> asyncCallback)
        Returns a list of metadata for all the error resolvers registered.

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback.

        Invocation Result:
        com.vmware.nsx_policy.model.ErrorResolverInfoList

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Parameters:
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • list

        void list​(com.vmware.vapi.bindings.client.AsyncCallback<ErrorResolverInfoList> asyncCallback,
                  com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Returns a list of metadata for all the error resolvers registered.

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback. Use invocationConfig to specify configuration for this particular invocation.

        Invocation Result:
        com.vmware.nsx_policy.model.ErrorResolverInfoList

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Parameters:
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • resolveerror

        void resolveerror​(ErrorResolverMetadataList errorResolverMetadataList)
        Invokes the corresponding error resolver for the given error(s) present in the payload

        Synchronous method overload. Result of the invocation will be reported as a method return value.

        Parameters:
        errorResolverMetadataList - (required)
        Throws:
        com.vmware.vapi.std.errors.InvalidRequest - Bad Request, Precondition Failed
        com.vmware.vapi.std.errors.Unauthorized - Forbidden
        com.vmware.vapi.std.errors.ServiceUnavailable - Service Unavailable
        com.vmware.vapi.std.errors.InternalServerError - Internal Server Error
        com.vmware.vapi.std.errors.NotFound - Not Found
      • resolveerror

        void resolveerror​(ErrorResolverMetadataList errorResolverMetadataList,
                          com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Invokes the corresponding error resolver for the given error(s) present in the payload

        Synchronous method overload. Result of the invocation will be reported as a method return value. Use invocationConfig to specify configuration for this particular invocation.

        Parameters:
        errorResolverMetadataList - (required)
        invocationConfig - Configuration for the method invocation.
        Throws:
        com.vmware.vapi.std.errors.InvalidRequest - Bad Request, Precondition Failed
        com.vmware.vapi.std.errors.Unauthorized - Forbidden
        com.vmware.vapi.std.errors.ServiceUnavailable - Service Unavailable
        com.vmware.vapi.std.errors.InternalServerError - Internal Server Error
        com.vmware.vapi.std.errors.NotFound - Not Found
      • resolveerror

        void resolveerror​(ErrorResolverMetadataList errorResolverMetadataList,
                          com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
        Invokes the corresponding error resolver for the given error(s) present in the payload

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback.

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Parameters:
        errorResolverMetadataList - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • resolveerror

        void resolveerror​(ErrorResolverMetadataList errorResolverMetadataList,
                          com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
                          com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Invokes the corresponding error resolver for the given error(s) present in the payload

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback. Use invocationConfig to specify configuration for this particular invocation.

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Parameters:
        errorResolverMetadataList - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.