Partager via


SafeIntException::SafeIntException

 

The latest version of this topic can be found at SafeIntException::SafeIntException.

Creates a SafeIntException object.

Syntax

SafeIntException();  
  
SafeIntException(  
   SafeIntError code  
);  

Parameters

[in] code
An enumerated data value that describes the error that occurred.

Remarks

The possible values for code are defined in the file Safeint.h. For convenience, the possible values are also listed here.

  • SafeIntNoError

  • SafeIntArithmeticOverflow

  • SafeIntDivideByZero

Requirements

Header: safeint.h

Namespace: msl::utilities

See Also

SafeInt Library
SafeIntException Class
SafeInt Class