Class Error
- java.lang.Object
-
- com.azure.core.management.exception.ManagementError
-
- com.azure.resourcemanager.hardwaresecuritymodules.models.Error
-
public final class Error extends com.azure.core.management.exception.ManagementError
The error exception.
-
-
Constructor Summary
Constructors Constructor Description Error()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Error
getInnerError()
Get the innerError property: Contains more specific error that narrows down the cause.void
validate()
Validates the instance.
-
-
-
Method Detail
-
getInnerError
public Error getInnerError()
Get the innerError property: Contains more specific error that narrows down the cause. May be null.- Returns:
- the innerError value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-