C# Class Spring.Objects.Factory.ObjectNotOfRequiredTypeException

Inheritance: ObjectsException
显示文件 Open project: spring-projects/spring-net

Public Methods

Method Description
ObjectNotOfRequiredTypeException ( ) : System

Creates a new instance of the ObjectNotOfRequiredTypeException class.

ObjectNotOfRequiredTypeException ( string message ) : System

Creates a new instance of the ObjectNotOfRequiredTypeException class.

ObjectNotOfRequiredTypeException ( string message, Exception rootCause ) : System

Creates a new instance of the ObjectNotOfRequiredTypeException class.

ObjectNotOfRequiredTypeException ( string name, Type requiredType, object actualInstance ) : System

Creates a new instance of the ObjectNotOfRequiredTypeException class.

Protected Methods

Method Description
ObjectNotOfRequiredTypeException ( SerializationInfo info, StreamingContext context ) : System

Creates a new instance of the ObjectNotOfRequiredTypeException class.

Private Methods

Method Description
GetObjectData ( SerializationInfo info, StreamingContext context ) : void

Method Details

ObjectNotOfRequiredTypeException() public method

Creates a new instance of the ObjectNotOfRequiredTypeException class.
public ObjectNotOfRequiredTypeException ( ) : System
return System

ObjectNotOfRequiredTypeException() protected method

Creates a new instance of the ObjectNotOfRequiredTypeException class.
protected ObjectNotOfRequiredTypeException ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo /// The /// that holds the serialized object data about the exception being thrown. ///
context System.Runtime.Serialization.StreamingContext /// The /// that contains contextual information about the source or destination. ///
return System

ObjectNotOfRequiredTypeException() public method

Creates a new instance of the ObjectNotOfRequiredTypeException class.
public ObjectNotOfRequiredTypeException ( string message ) : System
message string /// A message about the exception. ///
return System

ObjectNotOfRequiredTypeException() public method

Creates a new instance of the ObjectNotOfRequiredTypeException class.
public ObjectNotOfRequiredTypeException ( string message, Exception rootCause ) : System
message string /// A message about the exception. ///
rootCause System.Exception /// The root exception that is being wrapped. ///
return System

ObjectNotOfRequiredTypeException() public method

Creates a new instance of the ObjectNotOfRequiredTypeException class.
public ObjectNotOfRequiredTypeException ( string name, Type requiredType, object actualInstance ) : System
name string /// Name of the object requested. ///
requiredType System.Type /// The required of the actual object /// instance that was retrieved. ///
actualInstance object /// The instance actually returned, whose class did not match the /// expected . ///
return System