java.lang.Object
com.azure.core.management.exception.ManagementError
com.azure.resourcemanager.network.models.Error

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

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

    Modifier and Type
    Method
    Description
    Get the innerError property: Inner error message.
    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

    • Error

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

    • getInnerError

      public String getInnerError()
      Get the innerError property: Inner error message.
      Returns:
      the innerError value.
    • validate

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