Class OktaException
Base class for all Okta client and API exceptions.
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Okta.Sdk
Assembly: Okta.Sdk.dll
Syntax
public class OktaException : Exception, ISerializable
Constructors
OktaException()
Initializes a new instance of the OktaException class.
Declaration
public OktaException()
OktaException(String)
Initializes a new instance of the OktaException class.
Declaration
public OktaException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message that describes the error. |
OktaException(String, Exception)
Initializes a new instance of the OktaException class.
Declaration
public OktaException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message that describes the error. |
System.Exception | innerException | The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. |
Implements
System.Runtime.Serialization.ISerializable