Re: SCE-MI Error Handling Questions and Observations

From: Stickley, John <john_stickley@mentorg.com>
Date: Wed Jun 23 2004 - 21:19:07 PDT

Per,

Bojsen, Per wrote:
> Hi,
>
> a month ago I sent an email with the following paragraph:
>
> > in SCE-API, if the application always uses a non-NULL SceMiEC
> > in any SCE-API it calls, does it then follow that the SCE-MI
> > error handler will never be called? I mean, is the implementation
> > required to ensure the error handler is never called in this
> > case?

I think the 3 "if ... else if ... else if" bullets in section
5.3.2.1 spell this out.

The first "if" covers your case. So it is implied that the other
"else's" (including calling the error handler) do not take effect.
The implementation should guarantee this.

>
> I am wondering what the answer to this question is?
>
> Also:
>
> > Just to confirm, but I assume there is nothing wrong with mixing
> > the two styles of error handling (NULL and non-NULL SceMiEC) in
> > the same applications, right?

johnS:
Right.

>
> Thanks,
> Per
>

-- 
This email may contain material that is confidential, privileged
and/or attorney work product for the sole use of the intended
recipient.  Any review, reliance or distribution by others or
forwarding without express permission        /\
is strictly prohibited. If you are     /\   |  \
not the intended recipient please     |  \ /   |
contact the sender and delete        /    \     \
all copies.                      /\_/  K2  \_    \_
______________________________/\/            \     \
John Stickley                   \             \     \
Principal Engineer               \             \________________
Mentor Graphics - MED             \_
17 E. Cedar Place                   \   john_stickley@mentor.com
Ramsey, NJ  07446                    \     Phone: (201) 818-2585
________________________________________________________________
Received on Wed Jun 23 21:22:08 2004

This archive was generated by hypermail 2.1.8 : Wed Jun 23 2004 - 21:22:11 PDT