Throws exception of
ImGearException class.
Syntax
'Declaration
Public Overloads Shared Sub ThrowError( _
ByVal As ImGearErrorCodes, _
ByVal As String, _
ByVal As Integer _
)
'Usage
Dim errorCode As ImGearErrorCodes
Dim description As String
Dim value1 As Integer
ImGearException.ThrowError(errorCode, description, value1)
public static void ThrowError(
ImGearErrorCodes ,
string ,
int
)
public: static void ThrowError(
ImGearErrorCodes ,
string* ,
int
)
public:
static void ThrowError(
ImGearErrorCodes ,
String^ ,
int
)
Parameters
- errorCode
- Numeric code of error from ImGearErrorCodes enumeration.
- description
- Human readable information about reason of exception.
- value1
- Integer data supplied to error code. Its meaning depends on reason of exception.
See Also