Constructor GeneralFailureException
GeneralFailureException()
Default constructor.
Declaration
public GeneralFailureException()
GeneralFailureException(String)
Overloaded constructor, takes the reason as parameter.
Declaration
public GeneralFailureException(string reason)
Parameters
Type | Name | Description |
---|---|---|
System.String | reason |
GeneralFailureException(String, Exception)
Overloaded constructor.
Declaration
public GeneralFailureException(string reason, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
System.String | reason | Reason for exception |
Exception | inner | Nested exception |
GeneralFailureException(Int32)
Overloaded constructor
Declaration
public GeneralFailureException(int errorCode)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | errorCode | assigned errorcode |
GeneralFailureException(Int32, String)
Overloaded constructor
Declaration
public GeneralFailureException(int errorCode, string reason)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | errorCode | assigned errorcode |
System.String | reason | exception message |
GeneralFailureException(Int32, String, String)
Overloaded constructor
Declaration
public GeneralFailureException(int errorCode, string reason, string stackTrace)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | errorCode | assigned errorcode |
System.String | reason | exception message |
System.String | stackTrace | stacktrace |
GeneralFailureException(Int32, String, Exception)
Overloaded constructor
Declaration
public GeneralFailureException(int errorCode, string reason, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | errorCode | assigned errorcode |
System.String | reason | exception message |
Exception | inner | nested exception |
GeneralFailureException(SerializationInfo, StreamingContext)
overloaded constructor, manual serialization.
Declaration
protected GeneralFailureException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | |
StreamingContext | context |