This exception is returned for any errors occurring during the server-side DataPortal invocation.
More...
|
| DataPortalErrorInfo? | ErrorInfo [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.
|
| DataPortalErrorInfo? | BusinessErrorInfo [get] |
| | Gets the original exception error info that caused this exception.
|
| object? | BusinessObject [get] |
| | Returns a reference to the business object from the server-side DataPortal.
|
| Exception? | BusinessException [get] |
| | Gets the original server-side exception.
|
| string | BusinessExceptionMessage [get] |
| | Gets the Message property from the BusinessException, falling back to the Message value from the top-level exception.
|
| override string | StackTrace [get] |
| | Get the combined stack trace from the server and client.
|
This exception is returned for any errors occurring during the server-side DataPortal invocation.
◆ DataPortalException() [1/4]
| Csla.DataPortalException.DataPortalException |
( |
string | message, |
|
|
object | businessObject ) |
|
inline |
Creates an instance of the type.
- Parameters
-
| message | Text describing the exception. |
| businessObject | The business object as it was at the time of the exception. |
◆ DataPortalException() [2/4]
| Csla.DataPortalException.DataPortalException |
( |
string | message, |
|
|
Exception | ex, |
|
|
object? | businessObject ) |
|
inline |
Creates an instance of the type.
- Parameters
-
| message | Text describing the exception. |
| ex | Inner exception. |
| businessObject | The business object as it was at the time of the exception. |
◆ DataPortalException() [3/4]
| Csla.DataPortalException.DataPortalException |
( |
string | message, |
|
|
Exception | ex ) |
|
inline |
Creates an instance of the type.
- Parameters
-
| message | Exception message. |
| ex | Inner exception. |
◆ DataPortalException() [4/4]
Creates an instance of the type.
- Parameters
-
| info | Info about the exception. |
- Exceptions
-
| ArgumentNullException | info is null. |
◆ ToString()
| override string Csla.DataPortalException.ToString |
( |
| ) |
|
|
inline |
Gets a string representation of this object.
◆ BusinessErrorInfo
Gets the original exception error info that caused this exception.
◆ BusinessException
| Exception? Csla.DataPortalException.BusinessException |
|
get |
Gets the original server-side exception.
- Returns
- An exception object.
Removes all DataPortalException and CallMethodException instances in the exception stack to find the original exception.
◆ BusinessExceptionMessage
| string Csla.DataPortalException.BusinessExceptionMessage |
|
get |
Gets the Message property from the BusinessException, falling back to the Message value from the top-level exception.
◆ BusinessObject
| object? Csla.DataPortalException.BusinessObject |
|
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.
◆ ErrorInfo
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.
◆ StackTrace
| override string Csla.DataPortalException.StackTrace |
|
get |
Get the combined stack trace from the server and client.
The documentation for this class was generated from the following file: