Class DefaultConstructorNotFoundException
- Namespace
- Gym.Reflection
- Assembly
- Gym.dll
Thrown by DefaultConstructor<T> and DefaultConstructor for a type with neither a parameterless constructor nor one whose parameters are all optional; the message names the type.
[Serializable]
[Obsolete("Part of the legacy Dict's merging: Activator.CreateInstance throws MissingMethodException instead. Removed in 2.0 with Gym.Legacy.")]
public class DefaultConstructorNotFoundException : Exception, ISerializable
- Inheritance
-
DefaultConstructorNotFoundException
- Implements
- Inherited Members
- Extension Methods
Remarks
Obsolete with the legacy Dict (DR-56) and removed in 2.0.
Constructors
DefaultConstructorNotFoundException()
An error without a message of its own (.NET's default text).
public DefaultConstructorNotFoundException()
DefaultConstructorNotFoundException(string)
An error naming the type that cannot be constructed.
public DefaultConstructorNotFoundException(string message)
Parameters
messagestringThe message,
For type <full name>from the two caches.
DefaultConstructorNotFoundException(string, Exception)
An error with a message and its cause.
public DefaultConstructorNotFoundException(string message, Exception inner)