InvalidCredentialsException

This exception is triggered if the user cannot log onto the system.

This exception is triggered in two cases:

  • The access data of the indicated user is not correct or not sufficient.
  • The Client and Server versions deviate from one another, meaning a connection cannot be established.

In the case of the second cause, it must be ensured that the Client and Server versions are correct at the time of instantiating a new OnionSession.

If the third digit of a version number is different, then no connection can be established. It is prevented by the system since the third digit represents a difference in the interfaces of communication between the Server and Client. No correct functioning of communication is ensured in this case.

If the fourth digit of the version number differs, the OnionVerioningPolicy must be generated before instantiating the session. This ensures that differing versions may communicate with one another in this case nevertheless.

Extends: System.ApplicationException

Constructors

ConstructorDescription
InvalidCredentialsException()

Initialises a new instance of the InvalidCredentialsException class.

Properties

PropertyDescription
Data:IDictionary

Gets a listing of key value pairs providing additional user-defined information about the exception.

(Inherited by System.Exception)

HelpLink:String

Gets a link to the help file assigned to this exception, or specifies a link.

(Inherited by System.Exception)

InnerException:Exception

Gets the exception instance that caused the current exception.

(Inherited by System.Exception)

Message:String

Gets a message which describes the current exception.

(Inherited by System.Exception)

Source:String

Gets the name of the application or object that caused the error, or specifies this name.

(Inherited by System.Exception)

StackTrace:String

Gets a string representation of the immediate frames in the call stack.

(Inherited by System.Exception)

TargetSite:MethodBase

Gets the method that triggers the current exception.

(Inherited by System.Exception)

Methods

MethodDescription
Equals(Object):Boolean

Determines whether the indicated object is identical to the current object.

(Inherited by System.Object)

GetBaseException():Exception

Returns, when overwriting in a derived class, an exception which is the original cause for one or more subsequent exceptions.

(Inherited by System.Exception)

GetHashCode():Int32

Functions as the standard hash function.

(Inherited by System.Object)

GetObjectData(SerializationInfo, StreamingContext):Void

Specifies the SerializationInfo with information about the exception when overwriting in a derived class.

(Inherited by System.Exception)

GetType():Type

Calls the runtime type of the current instance.

(Inherited by System.Exception)

ToString():String

Creates a string equivalent of the current exception and returns this.

(Inherited by System.Exception)