@Retention(value=RUNTIME) @Target(value=METHOD) public @interface UnexpectedResponseExceptionTypes
@Repeatable
container annotation for UnexpectedResponseExceptionType
. This allows methods to
have different exceptions to be thrown or returned based on the response status codes returned from a REST API.Modifier and Type | Required Element and Description |
---|---|
UnexpectedResponseExceptionType[] |
value |
public abstract UnexpectedResponseExceptionType[] value
UnexpectedResponseExceptionType
that annotate a method.Copyright © 2021 Microsoft Corporation. All rights reserved.