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. |
reason |
GeneralFailureException(String, Exception)
Overloaded constructor.
Declaration
public GeneralFailureException(string reason, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
System. |
reason | Reason for exception |
System. |
inner | Nested exception |
GeneralFailureException(Int32)
Overloaded constructor
Declaration
public GeneralFailureException(int errorCode)
Parameters
Type | Name | Description |
---|---|---|
System. |
errorCode | assigned errorcode |
GeneralFailureException(Int32, String)
Overloaded constructor
Declaration
public GeneralFailureException(int errorCode, string reason)
Parameters
Type | Name | Description |
---|---|---|
System. |
errorCode | assigned errorcode |
System. |
reason | exception message |
GeneralFailureException(Int32, String, String)
Overloaded constructor
Declaration
public GeneralFailureException(int errorCode, string reason, string stackTrace)
Parameters
Type | Name | Description |
---|---|---|
System. |
errorCode | assigned errorcode |
System. |
reason | exception message |
System. |
stackTrace | stacktrace |
GeneralFailureException(Int32, String, Exception)
Overloaded constructor
Declaration
public GeneralFailureException(int errorCode, string reason, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
System. |
errorCode | assigned errorcode |
System. |
reason | exception message |
System. |
inner | nested exception |
GeneralFailureException(SerializationInfo, StreamingContext)
overloaded constructor, manual serialization.
Declaration
protected GeneralFailureException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System. |
info | |
System. |
context |