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 type. More... | |
DataPortalException (string message, Exception ex, object businessObject) | |
Creates an instance of the type. More... | |
DataPortalException (string message, Exception ex) | |
Creates an instance of the type. More... | |
DataPortalException (DataPortalErrorInfo info) | |
Creates an instance of the type. 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 type.
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 type.
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 type.
message | Exception message. |
ex | Inner exception. |
Definition at line 58 of file DataPortalException.cs.
Csla.DataPortalException.DataPortalException | ( | DataPortalErrorInfo | info | ) |
Creates an instance of the type.
info | Info about the exception. |
Definition at line 68 of file DataPortalException.cs.
|
protected |
Creates an instance of the object for serialization.
info | Serialization info object. |
context | Serialization context object. |
Definition at line 201 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 218 of file DataPortalException.cs.
override string Csla.DataPortalException.ToString | ( | ) |
Gets a string representation of this object.
Definition at line 78 of file DataPortalException.cs.
|
get |
Gets the original exception error info that caused this exception.
Definition at line 111 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 153 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 173 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 137 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 105 of file DataPortalException.cs.
|
get |
Get the combined stack trace from the server and client.
Definition at line 191 of file DataPortalException.cs.