java.lang.Object
com.azure.core.management.exception.ManagementError
com.azure.resourcemanager.databricks.models.ErrorInfo

public final class ErrorInfo extends com.azure.core.management.exception.ManagementError
Error response.

Contains details when the response code indicates an error.

  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates an instance of ErrorInfo class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the innererror property: Inner error details if they exist.
    void
    Validates the instance.

    Methods inherited from class com.azure.core.management.exception.ManagementError

    getAdditionalInfo, getCode, getDetails, getMessage, getTarget, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ErrorInfo

      public ErrorInfo()
      Creates an instance of ErrorInfo class.
  • Method Details

    • getInnererror

      public String getInnererror()
      Get the innererror property: Inner error details if they exist.
      Returns:
      the innererror value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.