Edit

Share via


Microsoft.InformationProtection.Exceptions Namespace

Classes

AccessDeniedException

The exception thrown when the user could not get access to services.

AdhocProtectionRequiredException

The exception thrown when Adhoc protection should be set to complete the action on the file.

BadInputException

The exception thrown when the caller passed bad input.

ConsentDeniedException

An operation that required consent from user was not granted consent.

ContentFormatNotSupportedException

Content format is not supported

CustomerKeyUnavailableException

Customer BYOKey is not available for content access

DelegateResponseException

The exception thrown for general delegate implementation issue

DeprecatedApiException

Caller invoked a deprecated API.

FileIOException

General File IO error.

InsufficientBufferException

Buffer is too small

InternalException

The exception thrown for internal unexpected errors.

JustificationRequiredException

The exception thrown when justification should be provided to complete the action on the file.

LabelDisabledException

Label is disabled or inactive

LabelNotFoundException

Label ID is not recognized

LicenseNotRegisteredException

Publishing License not Registered

NetworkException

The exception thrown for general network issues; for example, unreachable service.

NoAuthTokenException

The exception thrown when the user could not get access to the content due to an empty auth token.

NoPermissionsException

The exception thrown when the user could not get access to the content. For example, no permissions, content revoked.

NoPolicyException

The exception thrown when no policy is configured for user/tenant.

NotSupportedOperationException

The operation requested by the application is not supported by the SDK.

OperationCancelledException

The operation was cancelled

PrivilegedRequiredException

The exception thrown when cannot override privileged label when new label method is standard

ProxyAuthenticationException

The exception thrown when proxy authentication failed.

ServiceDisabledException

The exception thrown when the user could not get access to content due to the service being disabled.

TemplateArchivedException

Template has been archived and is unavailable for protection

TemplateNotFoundException

Template ID is not recognized