CRException::CRException
Previous  Index  Next

CRException(const CRString& msg);

Parameters

msg
Indicates the message string to be copied into the new CRException.  

Description

This member function constructs a new CRException object.

Example

  if (index < count) {
  . . .
  }
  else
    throw CRException("Index is out of range");

See Also

CRException::message


CRException | Classes | OCL | Index