메소드 | 설명 | |
---|---|---|
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 |
|
리턴 |