java.lang.Object
com.azure.core.management.exception.ManagementError
com.azure.resourcemanager.deviceprovisioningservices.models.ErrorDetails

public final class ErrorDetails extends com.azure.core.management.exception.ManagementError
Error details.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the httpStatusCode property: The HTTP status code.
    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

    • ErrorDetails

      public ErrorDetails()
  • Method Details

    • getHttpStatusCode

      public String getHttpStatusCode()
      Get the httpStatusCode property: The HTTP status code.
      Returns:
      the httpStatusCode value.
    • validate

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