Метод | Описание | |
---|---|---|
CKException ( |
Initializes a new CKException with an ExceptionData. The message of this exception is the CKExceptionData.Message. Use the static CreateFrom to handle null data (a null CKException will be returned).
|
|
CKException ( |
Initializes a new CKException with an Exception.InnerException.
|
|
CKException ( string message ) : System |
Initializes a new CKException.
|
|
CKException ( string message, |
Initializes a new CKException.
|
|
CreateFrom ( |
Creates a CKException from a CKExceptionData. This method returns null when data is null. This is the symmetric of CKExceptionData.CreateFrom.
|
|
EnsureExceptionData ( ) : |
If ExceptionData is null, this method creates the CKExceptionData with the details from this exception.
|
Метод | Описание | |
---|---|---|
DoSerialize ( object sender, System.Runtime.Serialization.SafeSerializationEventArgs e ) : void |
public CKException ( |
||
data | The exception data. Must not be null. | |
Результат | System |
public CKException ( |
||
innerException | Exception that caused this one. | |
messageFormat | string | Format string with optional placeholders. |
Результат | System |
public CKException ( string message ) : System | ||
message | string | Simple message. |
Результат | System |
public CKException ( string message, |
||
message | string | Simple message. |
innerException | Exception that caused this one. | |
Результат | System |
static public CreateFrom ( |
||
data | Data of an exception for which a |
|
Результат |
public EnsureExceptionData ( ) : |
||
Результат |