Class Error
java.lang.Object
com.azure.core.management.exception.ManagementError
com.azure.resourcemanager.network.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
Common error representation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the innerError property: Inner error message.voidvalidate()Validates the instance.Methods inherited from class com.azure.core.management.exception.ManagementError
fromJson, getAdditionalInfo, getCode, getDetails, getMessage, getTarget, toJson, toString
-
Constructor Details
-
Error
public Error()Creates an instance of Error class.
-
-
Method Details
-
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.
-