Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IErrorCoded Interface

Interface that can be implemented by exceptions etc that are error coded.

For a list of all members of this type, see IErrorCoded Members .

[Visual Basic]
Public Interface IErrorCoded
[C#]
public interface IErrorCoded

Types that implement IErrorCoded

Type Description
MethodInvocationException Thrown when a method (typically a property getter or setter invoked via reflection) throws an exception, analogous to a TargetInvocationException.
PropertyAccessException Superclass for exceptions related to a property access, such as a Type mismatch or a target invocation exception.
TypeMismatchException Exception thrown on a Type mismatch when trying to set a property or resolve an argument to a method invocation.

Remarks

The error code is a String, rather than a number, so it can be given user-readable values, such as "object.failureDescription".

Requirements

Namespace: Spring.Core

Assembly: Spring.Core (in Spring.Core.dll)

See Also

IErrorCoded Members | Spring.Core Namespace