## Uses of Class
com.versionone.apiclient.exceptions.V1Exception

- Packages that use V1Exception
  Package | Description
  --- | ---
  com.versionone.apiclient |
  com.versionone.apiclient.exceptions |
  com.versionone.apiclient.interfaces |

- - ### Uses of V1Exception in com.versionone.apiclient

    Methods in com.versionone.apiclient that throw V1Exception
    Modifier and Type | Method and Description
    --- | ---
    `Asset` | Services.`createNew(IAssetType assetType, Oid context)` Create new Asset
    `InputStream` | Services.`getAttachment(Oid attachmentOid)`
    `Reader` | Services.`getEmbeddedImage(Oid embeddedImageOid)`
    `String` | Services.`getLocalization(IAttributeDefinition attribute)`
    `String` | Services.`getLocalization(String key)`
    `String` | Localizer.`resolve(String key)` Resolve the key to it's localized value
    `void` | Services.`save(Asset[] assets)` Save an array of assets without comment
    `Oid` | Services.`saveAttachment(String filePath, Asset asset, String attachmentName)`
    `Oid` | Services.`saveEmbeddedImage(String filePath, Asset asset)`
    `V1Connector.IsetProxyOrEndPointOrConnector` | V1Connector.IAuthenticationMethods.`withAccessToken(String accessToken)` Optional method for setting the Windows Integrated Authentication credentials for authentication based on specified user credentials.
    `static V1Connector.ISetUserAgentMakeRequest` | V1Connector.`withInstanceUrl(String instanceUrl)`
    `V1Connector.IBuild` | V1Connector.IProxy.`withProxy(ProxyProvider proxyProvider)` Optional method for setting the proxy credentials.
    `V1Connector.IAuthenticationMethods` | V1Connector.ISetUserAgentMakeRequest.`withUserAgentHeader(String name, String version)` Required method for setting a custom user agent header for all HTTP requests made to the VersionOne API.
    `V1Connector.IsetProxyOrEndPointOrConnector` | V1Connector.IAuthenticationMethods.`withUsernameAndPassword(String username, String password)` Optional method for setting the username and password for authentication.
    `V1Connector.IsetProxyOrEndPointOrConnector` | V1Connector.IAuthenticationMethods.`withWindowsIntegrated()` Optional method for setting the Windows Integrated Authentication credentials for authentication based on the currently logged in user.

    Constructors in com.versionone.apiclient that throw V1Exception
    Constructor and Description
    `V1Connector(String instanceUrl)`

  - ### Uses of V1Exception in com.versionone.apiclient.exceptions

    Subclasses of V1Exception in com.versionone.apiclient.exceptions
    Modifier and Type | Class and Description
    --- | ---
    `class` | `APIException` Represents a generic API exception
    `class` | `AttachmentLengthException` Exception of attachment length
    `class` | `ConnectionException` Exception thrown for connection errors
    `class` | `OidException` Exception thrown when the API encounters a problem related to Object Identifiers
    `class` | `SecurityException` Exception thrown when the APIClient encounters a security exception (401)

  - ### Uses of V1Exception in com.versionone.apiclient.interfaces

    Methods in com.versionone.apiclient.interfaces that throw V1Exception
    Modifier and Type | Method and Description
    --- | ---
    `Object` | IAttributeDefinition.`coerce(Object value)` Attempt to convert the value into this type
    `Asset` | IServices.`createNew(IAssetType assetType, Oid context)` Creates a new asset.
    `InputStream` | IServices.`getAttachment(Oid attachmentOid)` Returns the attachment data for the specified attachment Oid.
    `Reader` | IServices.`getEmbeddedImage(Oid embeddedImageOid)` Returns the embedded image data for the specified attachment Oid.
    `String` | IServices.`getLocalization(IAttributeDefinition attribute)` Returns a localization value based on an attribute definition.
    `String` | IServices.`getLocalization(String key)` Returns a localization value based on key.
    `String` | ILocalizer.`resolve(String key)` Resolve the key to it's localized value
    `void` | IServices.`save(Asset[] assetList)` Saves multiple assets without a comment.
    `Oid` | IServices.`saveAttachment(String filePath, Asset asset, String attachmentName)` Saves an attachment to the specified asset.
    `Oid` | IServices.`saveEmbeddedImage(String filePath, Asset asset)` Saves an embedded image to the specified asset.

Copyright © 2016 VersionOne, Inc.. All rights reserved.