java.lang.Object
com.azure.core.management.exception.ManagementError
com.azure.resourcemanager.keyvault.models.Error
All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.exception.ManagementError>

public final class Error extends com.azure.core.management.exception.ManagementError
The error exception.
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    Get the innerError property: The inner error, contains a more specific error code.
    void
    Validates the instance.

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

    fromJson, getAdditionalInfo, getCode, getDetails, getMessage, getTarget, toJson, toString

    Methods inherited from class java.lang.Object

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

    • Error

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

    • getInnerError

      public Error getInnerError()
      Get the innerError property: The inner error, contains a more specific error code.
      Returns:
      the innerError value.
    • validate

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