CSLA .NET 10.0.0
A home for your business logic
Loading...
Searching...
No Matches
Csla.Server.GenericBusinessException Class Reference

This exception is returned as BusinessException in DataPortalException when the serverside/inner exception is not serializable. More...

Inheritance diagram for Csla.Server.GenericBusinessException:

Public Member Functions

 GenericBusinessException (Exception wrappedException)
 Initializes a new instance of the GenericBusinessException class. Reads information for a NonSerializable exception into GenericBusinessException.
 GenericBusinessException (Exception wrappedException, Exception innerException)
 Initializes a new instance of the GenericBusinessException class.
override string ToString ()
 Returns a System.String that represents this instance.

Properties

override string StackTrace [get]
 Gets a string representation of the immediate frames on the call stack.
override IDictionary Data [get]
 Gets a collection of key/value pairs that provide additional user-defined information about the exception.
string TypeName [get]
 Gets the name of the type.

Detailed Description

This exception is returned as BusinessException in DataPortalException when the serverside/inner exception is not serializable.

Constructor & Destructor Documentation

◆ GenericBusinessException() [1/2]

Csla.Server.GenericBusinessException.GenericBusinessException ( Exception wrappedException)
inline

Initializes a new instance of the GenericBusinessException class. Reads information for a NonSerializable exception into GenericBusinessException.

Parameters
wrappedExceptionThe wrapped exception.

◆ GenericBusinessException() [2/2]

Csla.Server.GenericBusinessException.GenericBusinessException ( Exception wrappedException,
Exception innerException )
inline

Initializes a new instance of the GenericBusinessException class.

Parameters
wrappedExceptionThe wrapped exception.
innerExceptionThe inner exception.

Member Function Documentation

◆ ToString()

override string Csla.Server.GenericBusinessException.ToString ( )
inline

Returns a System.String that represents this instance.

Returns
A System.String that represents this instance.

Property Documentation

◆ Data

override IDictionary Csla.Server.GenericBusinessException.Data
get

Gets a collection of key/value pairs that provide additional user-defined information about the exception.

Returns
An object that implements the T:System.Collections.IDictionary interface and contains a collection of user-defined key/value pairs. The default is an empty collection.

◆ StackTrace

override string Csla.Server.GenericBusinessException.StackTrace
get

Gets a string representation of the immediate frames on the call stack.

Returns
A string that describes the immediate frames of the call stack.

◆ TypeName

string Csla.Server.GenericBusinessException.TypeName
get

Gets the name of the type.

The name of the type.


The documentation for this class was generated from the following file: