Class ClassFactoryException

Summary description for ClassFactoryException.

Inheritance
System.Object
System.Exception
ClassFactoryException
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.Message
System.Exception.Data
System.Exception.InnerException
System.Exception.TargetSite
System.Exception.StackTrace
System.Exception.HelpLink
System.Exception.Source
System.Exception.HResult
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
Namespace: EPiServer.BaseLibrary
Assembly: EPiServer.BaseLibrary.dll
Version: 8.11.0
Syntax
public class ClassFactoryException : BaseException, ISerializable, _Exception

Constructors

ClassFactoryException()

Declaration
public ClassFactoryException()

ClassFactoryException(SerializationInfo, StreamingContext)

Declaration
protected ClassFactoryException(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
System.Runtime.Serialization.SerializationInfo info
System.Runtime.Serialization.StreamingContext context

ClassFactoryException(String)

Declaration
public ClassFactoryException(string message)
Parameters
Type Name Description
System.String message

ClassFactoryException(String, Exception)

Declaration
public ClassFactoryException(string message, Exception innerException)
Parameters
Type Name Description
System.String message
System.Exception innerException

Fields

CreateInstanceFailed

Declaration
public const string CreateInstanceFailed = "CreateInstance failed for {0} with mapped class {1}. Mapped class requires constructor with signature {2}."
Field Value
Type Description
System.String

FactoryIdRegistered

Declaration
public const string FactoryIdRegistered = "FactoryId {0} is already registered."
Field Value
Type Description
System.String

GenericTypeNeedsTypeParameters

Declaration
public const string GenericTypeNeedsTypeParameters = "CreateInstance failed for {0}. Generic object needs type parameters."
Field Value
Type Description
System.String

NotInitialized

Declaration
public const string NotInitialized = "ClassFactory not initialized"
Field Value
Type Description
System.String

RegisterClassFailed

Declaration
public const string RegisterClassFailed = "RegisterClass failed when registering {0} with mapped class {1}. Not a subclass."
Field Value
Type Description
System.String

RegisterInterfaceFailed

Declaration
public const string RegisterInterfaceFailed = "RegisterClass failed when registering interface {0} with concrete class {1}. Concrete class does not implement the interface."
Field Value
Type Description
System.String

TypeNotRegistered

Declaration
public const string TypeNotRegistered = "CreateInstance failed for {0}. Class not registered."
Field Value
Type Description
System.String

Methods

Create(String, Exception, Object[])

Declaration
public static ClassFactoryException Create(string message, Exception ex, params object[] arguments)
Parameters
Type Name Description
System.String message
System.Exception ex
System.Object[] arguments
Returns
Type Description
ClassFactoryException

Create(String, Object[])

Declaration
public static ClassFactoryException Create(string message, params object[] arguments)
Parameters
Type Name Description
System.String message
System.Object[] arguments
Returns
Type Description
ClassFactoryException

Implements

System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception

Extension Methods