Class MVCActionException
Wraps inner exceptions capturing stack trace in inner implementing blocks
Inheritance
System.Object
System.Exception
MVCActionException
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetType()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: NFX.Wave
Assembly: NFX.Wave.dll
Syntax
[Serializable]
public class MVCActionException : MVCException, ISerializable
Constructors
MVCActionException(SerializationInfo, StreamingContext)
Declaration
protected MVCActionException(SerializationInfo info, StreamingContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Runtime.Serialization.SerializationInfo | info | |
| System.Runtime.Serialization.StreamingContext | context |
MVCActionException(String, String, String, Exception)
Declaration
protected MVCActionException(string controller, string action, string msg, Exception inner)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | controller | |
| System.String | action | |
| System.String | msg | |
| System.Exception | inner |
Fields
Action
Declaration
public readonly string Action
Field Value
| Type | Description |
|---|---|
| System.String |
ACTION_FLD_NAME
Declaration
public const string ACTION_FLD_NAME = "MVCAE-A"
Field Value
| Type | Description |
|---|---|
| System.String |
Controller
Declaration
public readonly string Controller
Field Value
| Type | Description |
|---|---|
| System.String |
CONTROLLER_FLD_NAME
Declaration
public const string CONTROLLER_FLD_NAME = "MVCAE-C"
Field Value
| Type | Description |
|---|---|
| System.String |
Methods
GetObjectData(SerializationInfo, StreamingContext)
Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Runtime.Serialization.SerializationInfo | info | |
| System.Runtime.Serialization.StreamingContext | context |
Overrides
WrapActionBodyError(String, String, Exception)
Declaration
public static MVCActionException WrapActionBodyError(string controller, string action, Exception src)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | controller | |
| System.String | action | |
| System.Exception | src |
Returns
| Type | Description |
|---|---|
| MVCActionException |
WrapActionResultError(String, String, Object, Exception)
Declaration
public static MVCActionException WrapActionResultError(string controller, string action, object result, Exception src)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | controller | |
| System.String | action | |
| System.Object | result | |
| System.Exception | src |
Returns
| Type | Description |
|---|---|
| MVCActionException |
Implements
System.Runtime.Serialization.ISerializable