@Retention(value=RUNTIME) @Target(value=METHOD) public @interface UnexpectedResponseExceptionType
| Modifier and Type | Required Element and Description |
|---|---|
Class<? extends RestException> |
value
The type of RestException that should be thrown/returned when the API returns an unrecognized
status code.
|
public abstract Class<? extends RestException> value
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/