This exception is returned as BusinessException in DataPortalException when the serverside/inner exception is not serializable More...
Public Member Functions | |
GenericBusinessException (Exception wrappedException) | |
Initializes a new instance of the GenericBusinessException class. More... | |
GenericBusinessException (Exception wrappedException, Exception innerException) | |
Initializes a new instance of the GenericBusinessException class. More... | |
GenericBusinessException (SerializationInfo info, StreamingContext context) | |
Initializes a new instance of the GenericBusinessException class. More... | |
override void | GetObjectData (SerializationInfo info, StreamingContext context) |
When overridden in a derived class, sets the T:System.Runtime.Serialization.SerializationInfo with information about the exception. More... | |
override string | ToString () |
Returns a System.String that represents this instance. More... | |
Properties | |
override string | StackTrace [get] |
Gets a string representation of the immediate frames on the call stack. More... | |
override IDictionary | Data [get] |
Gets a collection of key/value pairs that provide additional user-defined information about the exception. More... | |
string | TypeName [get] |
Gets the name of the type. More... | |
This exception is returned as BusinessException in DataPortalException when the serverside/inner exception is not serializable
Definition at line 21 of file GenericBusinessException.cs.
Csla.Server.GenericBusinessException.GenericBusinessException | ( | Exception | wrappedException | ) |
Initializes a new instance of the GenericBusinessException class.
Reads information for a NonSerializable excpeption into GenericBusinessException
wrappedException | The wrapped exception. |
Definition at line 74 of file GenericBusinessException.cs.
Csla.Server.GenericBusinessException.GenericBusinessException | ( | Exception | wrappedException, |
Exception | innerException | ||
) |
Initializes a new instance of the GenericBusinessException class.
wrappedException | The wrapped exception. |
innerException | The inner exception. |
Definition at line 89 of file GenericBusinessException.cs.
Csla.Server.GenericBusinessException.GenericBusinessException | ( | SerializationInfo | info, |
StreamingContext | context | ||
) |
Initializes a new instance of the GenericBusinessException class.
info | The T:System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown. |
context | The T:System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination. |
T:System.ArgumentNullException | The info parameter is null. |
T:System.Runtime.Serialization.SerializationException | The class name is null or P:System.Exception.HResult is zero (0). |
Definition at line 107 of file GenericBusinessException.cs.
override void Csla.Server.GenericBusinessException.GetObjectData | ( | SerializationInfo | info, |
StreamingContext | context | ||
) |
When overridden in a derived class, sets the T:System.Runtime.Serialization.SerializationInfo with information about the exception.
info | The T:System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown. |
context | The T:System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination. |
T:System.ArgumentNullException | The info parameter is a null reference (Nothing in Visual Basic). |
<PermissionSet> <IPermission class="System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Read="*AllFiles*" PathDiscovery="*AllFiles*"> <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="SerializationFormatter"> </PermissionSet>
Definition at line 131 of file GenericBusinessException.cs.
override string Csla.Server.GenericBusinessException.ToString | ( | ) |
Returns a System.String that represents this instance.
<PermissionSet> <IPermission class="System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" PathDiscovery="*AllFiles*"> </PermissionSet>
Definition at line 149 of file GenericBusinessException.cs.
|
get |
Gets a collection of key/value pairs that provide additional user-defined information about the exception.
Definition at line 49 of file GenericBusinessException.cs.
|
get |
Gets a string representation of the immediate frames on the call stack.
<PermissionSet> <IPermission class="System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" PathDiscovery="*AllFiles*"> </PermissionSet>
Definition at line 36 of file GenericBusinessException.cs.
|
get |
Gets the name of the type.
The name of the type.
Definition at line 61 of file GenericBusinessException.cs.