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: Azos.Wave
Assembly: Azos.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