Class ErrorResponse
- java.lang.Object
-
- com.azure.resourcemanager.streamanalytics.models.ErrorResponse
-
public final class ErrorResponse extends Object
Describes the error that occurred.
-
-
Constructor Summary
Constructors Constructor Description ErrorResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
code()
Get the code property: Error code associated with the error that occurred.String
message()
Get the message property: Describes the error in detail.void
validate()
Validates the instance.
-
-
-
Method Detail
-
code
public String code()
Get the code property: Error code associated with the error that occurred.- Returns:
- the code value.
-
message
public String message()
Get the message property: Describes the error in detail.- Returns:
- the message value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-