Show / Hide Table of Contents

Class MetaClientException

Inheritance
Object
Exception
MetaClientException
Implements
ISerializable
Inherited Members
Exception.GetBaseException()
Exception.GetObjectData(SerializationInfo, StreamingContext)
Exception.GetType()
Exception.ToString()
Exception.Data
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Message
Exception.Source
Exception.StackTrace
Exception.TargetSite
Exception.SerializeObjectState
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Namespace: PKWARE.Smartcrypt.MetaClient
Assembly: SmartcryptProtocol.dll
Syntax
public sealed class MetaClientException : Exception, ISerializable

Constructors

MetaClientException(String, String, Exception, String, Int32, String)

Creates a new MetaClientException instance.

Declaration
public MetaClientException([NotNull] string category, [CanBeNull] string message, [CanBeNull] Exception innerException = null, [CanBeNull] string reason = null, int httpCode = 0, [CanBeNull] string url = null)
Parameters
Type Name Description
String category

See Category.

String message

See Message.

Exception innerException

See InnerException.

String reason

See Reason.

Int32 httpCode

See HttpCode.

String url

See Url.

Fields

CategoryAccountDisabled

User's account has been disabled at the server.

Declaration
public const string CategoryAccountDisabled = "Account Disabled"
Field Value
Type Description
String

CategoryAggregateErrorList

Multiple errors occurred while iterating over a list. The message string will be in a specific format. <error>:\n<item>\n<item>.

Declaration
public const string CategoryAggregateErrorList = "Aggregate Error List"
Field Value
Type Description
String

CategoryAlreadyMigrated

Account migration was already performed - calls initiated by CategoryMigrationRequired are no longer applicable.

Declaration
public const string CategoryAlreadyMigrated = "Already Migrated"
Field Value
Type Description
String

CategoryClient

Generic error usually related to client not respecting parameter rules or preconditions.

Declaration
public const string CategoryClient = "Client Error"
Field Value
Type Description
String

CategoryClientRefresh

Maximum offline access time exceeded - must communicate with server.

Declaration
public const string CategoryClientRefresh = "Client Refresh"
Field Value
Type Description
String

CategoryCommunicationError

Unable to communicate over network.

Declaration
public const string CategoryCommunicationError = "Communication Error"
Field Value
Type Description
String

CategoryDeviceNotAllowed

Transaction was denied because the device has been disabled/disallowed.

Declaration
public const string CategoryDeviceNotAllowed = "Device Not Allowed"
Field Value
Type Description
String

CategoryForcedUpgrade

Server said we have to upgrade.

Declaration
public const string CategoryForcedUpgrade = "Forced Upgrade"
Field Value
Type Description
String

CategoryHttp

Server is unhappy with us (or itself) - HttpCode.

Declaration
public const string CategoryHttp = "HTTP Error"
Field Value
Type Description
String

CategoryInternal

Something not coded correctly in PKMeta.

Declaration
public const string CategoryInternal = "Internal Error"
Field Value
Type Description
String

CategoryInvalidMetadata

During restore, found mismatch between metadata manifest and actual metadata (possible tampering, possible data corruption).

Declaration
public const string CategoryInvalidMetadata = "Invalid Metadata"
Field Value
Type Description
String

CategoryIsolatedMode

MC running in isolated mode - cannot perform operation.

Declaration
public const string CategoryIsolatedMode = "Isolated Mode"
Field Value
Type Description
String

CategoryKeyServer

Attempt to communicate with external key server was not successful.

Declaration
public const string CategoryKeyServer = "Key Server"
Field Value
Type Description
String

CategoryLoginRequired

Login required (attempted to use a function that requires being logged in).

Declaration
public const string CategoryLoginRequired = "Login Required"
Field Value
Type Description
String

CategoryMigrationMismatch

During migration, user authenticated to SMDS with a different email than the one being migrated.

Declaration
public const string CategoryMigrationMismatch = "Migration Mismatch"
Field Value
Type Description
String

CategoryMigrationRequired

Account must move to a satellite or change its email to a non-authorized domain.

Declaration
public const string CategoryMigrationRequired = "Migration Required"
Field Value
Type Description
String

CategoryNotFound

Something not found (e.g. account).

Declaration
public const string CategoryNotFound = "Not Found Error"
Field Value
Type Description
String

CategoryNotManaged

MC attempted to use an unmanaged account with a workflow requiring a managed account.

Declaration
public const string CategoryNotManaged = "Not Managed"
Field Value
Type Description
String

CategoryPassword

Something not acceptable about a password.

Declaration
public const string CategoryPassword = "Password Error"
Field Value
Type Description
String

CategoryPolicyViolation

Attempted to do something not permitted by policy.

Declaration
public const string CategoryPolicyViolation = "Policy Violation"
Field Value
Type Description
String

CategoryProtocol

Server response does not satisfy protocol.

Declaration
public const string CategoryProtocol = "Server Protocol Violation"
Field Value
Type Description
String

CategoryUnauthorizedServer

MC attempted to verify server authorization and security checks did not pass.

Declaration
public const string CategoryUnauthorizedServer = "Unauthorized Server"
Field Value
Type Description
String

CategoryUpgrade

Data was found from another device running a newer version of MetaClient.

Declaration
public const string CategoryUpgrade = "Upgrade Error"
Field Value
Type Description
String

HttpCode

If Category is CategoryHttp, an HTTP response code. The server often uses these to inform the client in useful ways.

Declaration
public readonly int HttpCode
Field Value
Type Description
Int32

Reason

The specific reason for the exception.

Declaration
[CanBeNull]
public readonly string Reason
Field Value
Type Description
String

ReasonAccountDisabled

User's account has been disabled at the server.

Declaration
public const string ReasonAccountDisabled = "Account Disabled"
Field Value
Type Description
String

ReasonAuxinfoTooLarge

AuxInfo being sent is to large.

Declaration
public const string ReasonAuxinfoTooLarge = "AuxInfo Too Large"
Field Value
Type Description
String

ReasonCredentials

Email or password is bogus.

Declaration
public const string ReasonCredentials = "Incorrect Credentials"
Field Value
Type Description
String

ReasonDenied

Server didn't give Asset info because AssetRight explicitly denies the caller.

Declaration
public const string ReasonDenied = "Denied"
Field Value
Type Description
String

ReasonDeviceDisabled

Device has been disabled either by team admin or by the owner (wipe metadata!!).

Declaration
public const string ReasonDeviceDisabled = "Device Disabled"
Field Value
Type Description
String

ReasonDomainNotFound

Indicates that the domain is not registered with CMDS as having an SMDS.

Declaration
public const string ReasonDomainNotFound = "Domain Not Found"
Field Value
Type Description
String

ReasonGuestAccount

Guest accounts cannot share outside of an organization (outside the server configured active directory).

Declaration
public const string ReasonGuestAccount = "Guest Account"
Field Value
Type Description
String

ReasonGuestAccountInternalOnly

Guest accounts cannot share with accounts homed outside (outside the server configured active directory).

Declaration
public const string ReasonGuestAccountInternalOnly = "Guest Account Internal Only"
Field Value
Type Description
String

ReasonInactiveEndpoint

For any number of reasons, the requested endpoint is not enabled on the current remote. It may be enabled on another node.

Declaration
public const string ReasonInactiveEndpoint = "InactiveEndpoint"
Field Value
Type Description
String

ReasonInvalidLicense

License key is invalid.

Declaration
public const string ReasonInvalidLicense = "Invalid License Key"
Field Value
Type Description
String

ReasonIsolated

Server is in isolated mode, cannot share to accounts outside.

Declaration
public const string ReasonIsolated = "Isolated Server"
Field Value
Type Description
String

ReasonNoRight

Server didn't give Asset info because no AssetRight applies to caller.

Declaration
public const string ReasonNoRight = "No Right"
Field Value
Type Description
String

ReasonNotLicensed

Server did not issue a license.

Declaration
public const string ReasonNotLicensed = "No license"
Field Value
Type Description
String

ReasonNotManaged

Server was asked to use an unmanaged account with a workflow or endpoint requiring a managed account.

Declaration
public const string ReasonNotManaged = "Not Managed"
Field Value
Type Description
String

ReasonOutOfLicenses

Server has no more licenses to issue.

Declaration
public const string ReasonOutOfLicenses = "Hard Maximum"
Field Value
Type Description
String

ReasonRevision

Server dislikes a put because it's not a newer revision.

Declaration
public const string ReasonRevision = "Revision"
Field Value
Type Description
String

ReasonSatelliteLicense

License is activated by a satellite NOT central.

Declaration
public const string ReasonSatelliteLicense = "Satellite license"
Field Value
Type Description
String

ReasonSendToMaster

The current remote cannot handle the request and the client should retry with a master node.

Declaration
public const string ReasonSendToMaster = "Send To Master"
Field Value
Type Description
String

ReasonUpgrade

Sent by server along with 403 to indicate that an upgrade is required (causes CategoryForcedUpgrade).

Declaration
public const string ReasonUpgrade = "Upgrade"
Field Value
Type Description
String

Url

A related URL for certain errors such as upgrade scenarios.

Declaration
[CanBeNull]
public readonly string Url
Field Value
Type Description
String

Properties

Category

Major area of the problem.

Declaration
[NotNull]
public string Category { get; }
Property Value
Type Description
String

Implements

System.Runtime.Serialization.ISerializable
Back to top Copyright © 2018 PKWARE, Inc.