WRAPPER_API GeoCalcException()
WRAPPER_API GeoCalcException(const BmgChar *location)
WRAPPER_API GeoCalcException(Code errorCode, const BmgChar *location)
WRAPPER_API GeoCalcException(Code errorCode, const BmgChar *location, const BmgChar *details)
WRAPPER_API GeoCalcException(const GeoCalcException &source)
The GeoCalcException constructor creates a new instance of the GeoCalcException class. There are four signatures for this constructor that allow you to specify various amounts of detail about the exception. One can supply an ErrorCode that describes the exception according to the Code enumeration, the Location from which the exception was thrown, and a string that gives some Details about the exception. There is also a copy-constructor that produces a GeoCalcException with the same value as the argument.
void GeoCalcException_GeoCalcException()
{
_towchar location("GeoCalcException_GeoCalcException");
_towchar details("This exception provides an example of how to use a GeoCalcException");
throw GEOCALCPBW_NAMESPACE::GeoCalcException(GEOCALCPBW_NAMESPACE::GeoCalcException::Code::Unspecified, location, details);
}