|
C++ Programs Terminate with Abnormal ErrorThis error typically occurs when customers write a "Hello World" type C++ application like this:
When the program runs, it produces an unfriendly error message:
An exception is being thrown (as shown above). It's really important to put the try/catch block around the code to catch the exception. For example:
When a try/catch block is correctly position around the code, your application will output a more friendly error message that accurately explains the problem. The most common errors occur when mandatory environment variables are not set in Unix. For more information, please see the following sections: |