Package com.azure.core.annotation
Annotation Type UnexpectedResponseExceptionTypes
-
@Retention(RUNTIME) @Target(METHOD) public @interface UnexpectedResponseExceptionTypes
The@Repeatable
container annotation forUnexpectedResponseExceptionType
. This allows methods to have different exceptions to be thrown or returned based on the response status codes returned from a REST API.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description UnexpectedResponseExceptionType[]
value
-
-
-
Element Detail
-
value
UnexpectedResponseExceptionType[] value
- Returns:
- array of
UnexpectedResponseExceptionType
that annotate a method.
-
-