C# Class Spring.Core.TypeMismatchException

Inheritance: PropertyAccessException
Show file Open project: spring-projects/spring-net Class Usage Examples

Public Methods

Method Description
TypeMismatchException ( ) : System

Creates a new instance of the TypeMismatchException class.

TypeMismatchException ( Spring.Core.PropertyChangeEventArgs propertyChangeEventArgs, Type requiredType ) : System

Creates a new instance of the TypeMismatchException class describing the property and required type that could not used to set a property on the target object.

TypeMismatchException ( Spring.Core.PropertyChangeEventArgs propertyChangeEventArgs, Type requiredType, Exception rootCause ) : System

Creates a new instance of the TypeMismatchException class describing the property, required type, and underlying exception that could not be used to set a property on the target object.

TypeMismatchException ( string message ) : System

Creates a new instance of the TypeMismatchException class.

TypeMismatchException ( string message, Exception rootCause ) : System

Creates a new instance of the TypeMismatchException class.

Protected Methods

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

Creates a new instance of the TypeMismatchException class.

Private Methods

Method Description
BuildMessage ( Spring.Core.PropertyChangeEventArgs propertyChangeEventArgs, Type requiredType ) : string

Method Details

TypeMismatchException() public method

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

TypeMismatchException() public method

Creates a new instance of the TypeMismatchException class describing the property and required type that could not used to set a property on the target object.
public TypeMismatchException ( Spring.Core.PropertyChangeEventArgs propertyChangeEventArgs, Type requiredType ) : System
propertyChangeEventArgs Spring.Core.PropertyChangeEventArgs /// The description of the property that was to be changed. ///
requiredType System.Type The target conversion type.
return System

TypeMismatchException() public method

Creates a new instance of the TypeMismatchException class describing the property, required type, and underlying exception that could not be used to set a property on the target object.
public TypeMismatchException ( Spring.Core.PropertyChangeEventArgs propertyChangeEventArgs, Type requiredType, Exception rootCause ) : System
propertyChangeEventArgs Spring.Core.PropertyChangeEventArgs /// The description of the property that was to be changed. ///
requiredType System.Type The target conversion type.
rootCause System.Exception The underlying exception.
return System

TypeMismatchException() protected method

Creates a new instance of the TypeMismatchException class.
protected TypeMismatchException ( 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

TypeMismatchException() public method

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

TypeMismatchException() public method

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