This exception is returned for any errors occurring during the server-side DataPortal invocation. More...
Public Member Functions | |
DataPortalException (string message, object businessObject) | |
Creates an instance of the object. More... | |
DataPortalException (string message, Exception ex, object businessObject) | |
Creates an instance of the object. More... | |
DataPortalException (string message, Exception ex) | |
Creates an instance of the object. More... | |
DataPortalException (WcfPortal.WcfErrorInfo info) | |
Creates an instance of the object. More... | |
DataPortalException (DataPortalErrorInfo info) | |
Creates an instance of the object. More... | |
override string | ToString () |
Gets a string representation of this object. More... | |
override void | GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) |
Serializes the object. More... | |
Protected Member Functions | |
DataPortalException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) | |
Creates an instance of the object for serialization. More... | |
Properties | |
DataPortalErrorInfo | ErrorInfo [get] |
Gets information about the original server-side exception. More... | |
DataPortalErrorInfo | BusinessErrorInfo [get] |
Gets the original exception error info that caused this exception. More... | |
object | BusinessObject [get] |
Returns a reference to the business object from the server-side DataPortal. More... | |
Exception | BusinessException [get] |
Gets the original server-side exception. More... | |
string | BusinessExceptionMessage [get] |
Gets the Message property from the BusinessException, falling back to the Message value from the top-level exception. More... | |
override string | StackTrace [get] |
Get the combined stack trace from the server and client. More... | |
This exception is returned for any errors occurring during the server-side DataPortal invocation.
Definition at line 20 of file DataPortalException.cs.
Csla.DataPortalException.DataPortalException | ( | string | message, |
object | businessObject | ||
) |
Creates an instance of the object.
message | Text describing the exception. |
businessObject | The business object as it was at the time of the exception. |
Definition at line 28 of file DataPortalException.cs.
Csla.DataPortalException.DataPortalException | ( | string | message, |
Exception | ex, | ||
object | businessObject | ||
) |
Creates an instance of the object.
message | Text describing the exception. |
ex | Inner exception. |
businessObject | The business object as it was at the time of the exception. |
Definition at line 42 of file DataPortalException.cs.
Csla.DataPortalException.DataPortalException | ( | string | message, |
Exception | ex | ||
) |
Creates an instance of the object.
message | Exception message. |
ex | Inner exception. |
Definition at line 58 of file DataPortalException.cs.
Csla.DataPortalException.DataPortalException | ( | WcfPortal.WcfErrorInfo | info | ) |
Creates an instance of the object.
info | Info about the exception. |
Definition at line 69 of file DataPortalException.cs.
Csla.DataPortalException.DataPortalException | ( | DataPortalErrorInfo | info | ) |
Creates an instance of the object.
info | Info about the exception. |
Definition at line 80 of file DataPortalException.cs.
|
protected |
Creates an instance of the object for serialization.
info | Serialization info object. |
context | Serialization context object. |
Definition at line 213 of file DataPortalException.cs.
override void Csla.DataPortalException.GetObjectData | ( | System.Runtime.Serialization.SerializationInfo | info, |
System.Runtime.Serialization.StreamingContext | context | ||
) |
Serializes the object.
info | Serialization info object. |
context | Serialization context object. |
Definition at line 230 of file DataPortalException.cs.
override string Csla.DataPortalException.ToString | ( | ) |
Gets a string representation of this object.
Definition at line 90 of file DataPortalException.cs.
|
get |
Gets the original exception error info that caused this exception.
Definition at line 123 of file DataPortalException.cs.
|
get |
Gets the original server-side exception.
Removes all DataPortalException and CallMethodException instances in the exception stack to find the original exception.
Definition at line 165 of file DataPortalException.cs.
|
get |
Gets the Message property from the BusinessException, falling back to the Message value from the top-level exception.
Definition at line 185 of file DataPortalException.cs.
|
get |
Returns a reference to the business object from the server-side DataPortal.
Remember that this object may be in an invalid or undefined state. This is the business object (and any child objects) as it existed when the exception occured on the server. Thus the object state may have been altered by the server and may no longer reflect data in the database.
Definition at line 149 of file DataPortalException.cs.
|
get |
Gets information about the original server-side exception.
That exception is not an exception on the client side, but this property returns information about the exception.
Definition at line 117 of file DataPortalException.cs.
|
get |
Get the combined stack trace from the server and client.
Definition at line 203 of file DataPortalException.cs.