## Uses of Class
com.sap.ecm.api.ServiceException

- Packages that use ServiceException
  Package | Description
  --- | ---
  com.sap.ecm.api |

- - ### Uses of ServiceException in com.sap.ecm.api

    Subclasses of ServiceException in com.sap.ecm.api
    Modifier and Type | Class and Description
    --- | ---
    `class` | `RepositoryAlreadyExistsException` This exception signals that an attempt to create a new repository failed, as the requested repository already exists.
    `class` | `RepositoryNotEmptyException` This exception signals that a repository could not be deleted because it still contains content.
    `class` | `RepositoryQuotaExceededException` This exception signals that an attempt to create a new repository failed, as the respective quota of repositories is exceeded.

    Methods in com.sap.ecm.api that throw ServiceException
    Modifier and Type | Method and Description
    --- | ---
    `Session` | EcmService.`connect(String uniqueName, String key)`
    `static Session` | EcmFactory.`connect(String uniqueName, String key)` Connects to a key-secured repository specified by `uniqueName`.
    `Session` | EcmService.`connect(String uniqueName, String key, String destination)`
    `static Session` | EcmFactory.`connect(String uniqueName, String key, String destination)` Connects to a key-secured repository specified by `uniqueName`.
    `Session` | EcmService.`connect(String uniqueName, String key, String destination, Map<String,String> openCmisProperties)`
    `static Session` | EcmFactory.`connect(String uniqueName, String key, String destination, Map<String,String> openCmisProperties)` Connects to a key-secured repository specified by `uniqueName`.
    `Session` | EcmService.`connect(String uniqueName, String key, String destination, Map<String,String> openCmisProperties, List<String> additionalPrincipals)`
    `static Session` | EcmFactory.`connect(String uniqueName, String key, String destination, Map<String,String> openCmisProperties, List<String> additionalPrincipals)` Connects to a key-secured repository specified by `uniqueName`.
    `Session` | EcmService.`connectForTenant(String uniqueName, String key, String tenantId, String user)`
    `static Session` | EcmFactory.`connectForTenant(String uniqueName, String key, String tenantId, String user)` Connects to a key-secured repository specified by `uniqueName` for the specified tenant and user.
    `Session` | EcmService.`connectForTenant(String uniqueName, String key, String tenantId, String user, Map<String,String> openCmisProperties)`
    `static Session` | EcmFactory.`connectForTenant(String uniqueName, String key, String tenantId, String user, Map<String,String> openCmisProperties)` Connects to a key-secured repository specified by `uniqueName` for the specified tenant and user.
    `Session` | EcmService.`connectForTenant(String uniqueName, String key, String tenantId, String user, Map<String,String> openCmisProperties, List<String> additionalPrincipals)`
    `static Session` | EcmFactory.`connectForTenant(String uniqueName, String key, String tenantId, String user, Map<String,String> openCmisProperties, List<String> additionalPrincipals)` Connects to a key-secured repository specified by `uniqueName` for the specified tenant and user.
    `Session` | EcmService.`connectForUser(String uniqueName, String key, String user)`
    `static Session` | EcmFactory.`connectForUser(String uniqueName, String key, String user)` Connects to a key-secured repository specified by `uniqueName` for the specified user.
    `Session` | EcmService.`connectForUser(String uniqueName, String key, String destination, String user)`
    `static Session` | EcmFactory.`connectForUser(String uniqueName, String key, String destination, String user)` Connects to a key-secured repository specified by `uniqueName` for the specified user.
    `Session` | EcmService.`connectForUser(String uniqueName, String key, String destination, String user, Map<String,String> openCmisProperties)`
    `static Session` | EcmFactory.`connectForUser(String uniqueName, String key, String destination, String user, Map<String,String> openCmisProperties)` Connects to a key-secured repository specified by `uniqueName` for the specified user.
    `Session` | EcmService.`connectForUser(String uniqueName, String key, String destination, String user, Map<String,String> openCmisProperties, List<String> additionalPrincipals)`
    `static Session` | EcmFactory.`connectForUser(String uniqueName, String key, String destination, String user, Map<String,String> openCmisProperties, List<String> additionalPrincipals)` Connects to a key-secured repository specified by `uniqueName` for the specified user.
    `String` | EcmService.`createRepository(RepositoryOptions options)`
    `static String` | EcmFactory.`createRepository(RepositoryOptions options)` Creates a new repository in the Document Service with the given options.
    `String` | EcmService.`createRepository(RepositoryOptions options, String destination)`
    `static String` | EcmFactory.`createRepository(RepositoryOptions options, String destination)` Creates a new repository in the Document Service with the given options.
    `void` | EcmService.`deleteRepository(String uniqueName, String repositoryKey)`
    `static void` | EcmFactory.`deleteRepository(String uniqueName, String repositoryKey)` Deletes a repository for the current consuming account.
    `void` | EcmService.`deleteRepository(String uniqueName, String repositoryKey, String destination)`
    `static void` | EcmFactory.`deleteRepository(String uniqueName, String repositoryKey, String destination)` Deletes a repository for the current consuming account.
    `void` | EcmService.`forceDeleteRepository(String uniqueName, String repositoryKey)` Deletes the tenant repository of the current tenant (consuming account) including all data contained within.
    `static void` | EcmFactory.`forceDeleteRepository(String uniqueName, String repositoryKey)` Deletes the tenant repository of the current tenant (consuming account) including all data contained within.
    `void` | EcmService.`forceDeleteRepositoryForAllTenants(String uniqueName, String repositoryKey)` Deletes a repository and all contained tenant repositories including all data inside.
    `static void` | EcmFactory.`forceDeleteRepositoryForAllTenants(String uniqueName, String repositoryKey)` Deletes a repository and all contained tenant repositories including all data inside.
    `void` | EcmService.`forceDeleteRepositoryForTenant(String uniqueName, String repositoryKey, String tenantId)` Deletes the tenant repository of the given tenant ID including all data contained within.
    `static void` | EcmFactory.`forceDeleteRepositoryForTenant(String uniqueName, String repositoryKey, String tenantId)` Deletes the tenant repository of the given tenant ID including all data contained within.

Copyright © 2019 SAP. All Rights Reserved.