Class ExtensionException
Inheritance
System.Object
ExtensionException
Assembly: DirectScale.Disco.Extension.Abstractions.dll
Syntax
public class ExtensionException : Exception
Constructors
ExtensionException()
Declaration
public ExtensionException()
ExtensionException(String, Exception)
Declaration
public ExtensionException(string message, Exception innerException)
Parameters
Type |
Name |
Description |
System.String |
message |
|
System.Exception |
innerException |
|
Properties
Context
Declaration
public string Context { get; set; }
Property Value
Type |
Description |
System.String |
|
DiscoRemoteException
Declaration
public ExtensionException.ExceptionModel DiscoRemoteException { get; set; }
Property Value
Message
Declaration
public override string Message { get; }
Property Value
Type |
Description |
System.String |
|
Method
Declaration
public string Method { get; set; }
Property Value
Type |
Description |
System.String |
|
RequestBody
Declaration
public string RequestBody { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
AddStackTrace(String)
Declaration
public void AddStackTrace(string stackTrace)
Parameters
Type |
Name |
Description |
System.String |
stackTrace |
|
FromException(Exception, String, String, String)
Declaration
public static ExtensionException FromException(Exception e, string context, string method, string requestBody)
Parameters
Type |
Name |
Description |
System.Exception |
e |
|
System.String |
context |
|
System.String |
method |
|
System.String |
requestBody |
|
Returns
FromHttpResponse(String, String, String, String)
Declaration
public static ExtensionException FromHttpResponse(string responseBody, string responseMessage, string context, string method)
Parameters
Type |
Name |
Description |
System.String |
responseBody |
|
System.String |
responseMessage |
|
System.String |
context |
|
System.String |
method |
|
Returns