06-16-2004
exception handling
Does exception handling exist in any UNIX enviornment? I develop on Windows MSVC++ land and need to port to UNIX.
9 More Discussions You Might Find Interesting
1. Programming
Anybody happen to be familiar with any deficiencies with g++ 2.95.3 regarding exception handling, specifically in multi-threaded / multi-module (shared library) based applications?
I'm seeing behavior where thrown exceptions are not caught, but basically ignored causing the application to... (0 Replies)
Discussion started by: earl
0 Replies
2. Shell Programming and Scripting
Hi all,
I am writing a set of scripts and some of these are nested within others. I want to be able to execute a single high-level script at the command-line, which in turn may invoke other scripts as required, and when a failure occurs in any of the nested scripts, I want to be able to track... (2 Replies)
Discussion started by: chaitu_inmage
2 Replies
3. Linux
hello friends,
I am given a project to handle the command not found exception.I am using RED HAT 9. Generally, when we press a wrong command in the terminal: example :-
" $cet " in place of " $cat ". Then we get this exception. But I need to give the output as the combinations that are possible... (5 Replies)
Discussion started by: nsharath
5 Replies
4. Shell Programming and Scripting
Hi,
I have written a script to load csv files into a mysql database, however, i would like for the shell script to exit in the event of an error (missing file, load error etc.) - currently if an error is encountered the next statement is processed - This is how i am loading the csv scripts
... (5 Replies)
Discussion started by: bertpereira
5 Replies
5. Programming
Hi Friend,
Could you please provide me with some tutorial for Advanced Exception handling in C++, mainly set_terminate() and set_unexpected() functions?
Please find the details below:
OS: Unix
Compiler: gcc.
Thanks. :)
Awesome001 (0 Replies)
Discussion started by: awesome001
0 Replies
6. Shell Programming and Scripting
Sometimes when I try to use curl to upload to an ftp server, I get the message:
$curl -T file.wmv ftp.eu.filesonic.com --user user:password
curl: (8) Got a 421 ftp-server response when 220 was expected
How do I get the script to try again if I get the message curl: (8)? (2 Replies)
Discussion started by: locoroco
2 Replies
7. Programming
Hello All,
I have a question ....which I am totally confused about!
If I have a fxn foo in a program which returns a logical value. But it has a posssiblity to throw some exception.
Now my exception handler returns a value as a string stating why the exception occured.
But my... (1 Reply)
Discussion started by: mind@work
1 Replies
8. Solaris
Hi all,
An application works well under 2.6 but under 7 it gives TEXT_IO exceptions. (Is_Open, Check_Is_Open, Get_Line procedures). Any idea?
Regards (3 Replies)
Discussion started by: endoavour
3 Replies
9. Shell Programming and Scripting
Hi Folks,
please advise , I have logs generated on unix machine at location /ops/opt/aaa/bvg.log , now sometimes there come exception in these logs also, so I want to write such a script such that it should continuously monitor these logs and whenever any exception comes that is it try to find... (3 Replies)
Discussion started by: tuntun27272727
3 Replies
LEARN ABOUT OSF1
pthread_exc_matches_np
pthread_exc_matches_np(3) Library Functions Manual pthread_exc_matches_np(3)
NAME
pthread_exc_matches_np - (Macro) Determines whether two DECthreads exception objects are identical.
LIBRARY
DECthreads POSIX 1003.1c Library (libpthread.so)
SYNOPSIS
#include <pthread_exception.h>
int pthread_exc_matches_np(
EXCEPTION *exception1,
EXCEPTION *exception2);
STANDARDS
None
PARAMETERS
DECthreads exception object. DECthreads exception object.
DESCRIPTION
This routine compares two DECthreads exception objects, taking into consideration whether each is an address exception or status exception.
This routine returns either the C language value TRUE or the C language value FALSE, indicating whether the two DECthreads exception
objects specified in the arguments exception1 and exception2 are identical.
RETURN VALUES
The C language value TRUE if the exception objects are identical, or the C language value FALSE if not.
ERRORS
None
RELATED INFORMATION
Functions: pthread_exc_get_status_np(3), pthread_exc_report_np(3), pthread_exc_set_status_np(3)
Manuals: Guide to DECthreads and Programmer's Guide
delim off
pthread_exc_matches_np(3)