Exception handlers and subscripts

Hi,
When I write a script, I specify a handlers for exceptions such as ContactInactive.  When I call a subscript from my original script, I assume I have to reset the exception handlers to point to labels in the subscript, correct?  If that is correct, my next question is do I have to set the exception handlers once again when I return from the subscript, or will the setting be retained from when I set it earlier in my original script?
Thanks in advance for any help.
Robert

Hi,
http://www.lc.leidenuniv.nl/awcourse/oracle/appdev.920/a96624/07_errs.htm#877
this will give u the information.
Regards
Bharath

Similar Messages

  • Two questions: Scanner and exception handlers

    Extreme Newbie Alert: I took a single college semester involving Java, almost five years ago, and haven't really touched it since until recently when I decided to try to get back into it. I am now working on building a program while reading the Java 5.0 Tutorial downloadable from Sun.
    Okay, now that the faint of heart have left us, here are the two questions I want to ask:
    1) I am trying to use the Scanner tool ( http://java.sun.com/j2se/1.5.0/docs/api/java/util/Scanner.html ) on a FileReader wrapped in a BufferedReader. I have installed JDK 5.0 and I am importing java.util.*, but when I try to compile I get this error:
    Wishlist.java:71: cannot resolve symbol
    symbol : class Scanner
    location: class Wishlist
    Scanner readFromMe = new Scanner(new BufferedReader(new FileReader("wishlist.txt")));
    ^
    ...and then another one pointing to the other appearance of "Scanner" in the same line, followed by six more in places where I use the readFromMe variable that line was supposed to declare and initialize. Any idea why the compiler doesn't recognize Scanner even though I'm importing its package?
    2) Is there anything preventing you from nesting exception handlers? As you've seen, in this program I open a file...if that attempt produces a FileNotFoundException, I want the error handling to create a new, empty file to use in place of the one that should have been there. Since this could throw an IOException of its own, I would need to put a try | catch block into the other catch block. Is the compiler going to stand for that? Alternatively, is there any input stream that creates a file with the specified filename if there is none already? Probably not, since a newly created file will be empty and there's no point in having an input stream on it...

    1) Are you sure you installed and are invoking jdk
    1.5? Maybe you have an earlier version ahead of it
    on your path.Hm. I did use 1.3 back in college...I checked the contents of PATH and the User Variables version of it was set correctly but the System Variables version of it was set to 1.3. I corrected the System Variables version of it and now the compiler doesn't complain about Scanner...but I'm still getting errors that it doesn't recognize readFromMe even after I initialized it. Odd...
    2) yeah you can nest try/catch blocks like that.
    However, in this case, exceptions sound like the
    wrong way to go. A missing file sounds like a real,
    regular possibility -- it's not that exceptional as
    you describe it. A better thing would be to create
    a File object, see if the file exists, and then if
    it doesn't go ahead and immediately handle that
    case. Don't even try to open the file that may not
    exist.Okay, I'll try rewriting the file read like that, and hopefully the readFromMe errors will go away. If they don't I'll make a new post...probably with the entirety of the code because I can't even guess at what part of the code is causing that. Thanks for the help!

  • Proxies , Event handlers and exceptions

    Hi All,
    I am using an inbound proxy to communicate with CRM system via XI.
    I have to raise event handlers and exception catch using Try,,.. Catch OOps concept in the Proxy. Could anyone have some examples of similar kind of scenarios mentioning step by step. I am expecting a scenario and source code.
    thanks
    Deno

    HI,
    Please look at this thread on error handling:
    http://help.sap.com/saphelp_nw04/helpdata/en/25/a45c3cff8ca92be10000000a114084/content.htm
    Regards
    Vijaya

  • Verifier Error: Exception handlers not sorted in ascending order by the off

    Hello,
    Java Card 2.2 did not convert my Applet !
    Java Card 2.2.1 & 2.1.2 do not report this Error and the Applet is working !
    What's wrong here ?
    D:\save\smsTest>C:\Programme\Java\jdk1.5.0_06\bin\java -classpath D:\java_card_kit-2_2\lib\converter.jar;D:\java_card_kit-2_2\lib\offcardverifier.jar com.sun.javacard.converter.Converter -config SMS_JCDK_2_2.opt
    Java Card 2.2 Class File Converter (version 1.3)
    Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
    warning: You did not supply export file for the previous minor version of the package
    parsing D:\save\smsTest\com\gieseckedevrient\jctt\smsTest\IExceptionConstants.class
    parsing D:\save\smsTest\com\gieseckedevrient\jctt\smsTest\ITestConsts.class
    parsing D:\save\smsTest\com\gieseckedevrient\jctt\smsTest\InfoData.class
    parsing D:\save\smsTest\com\gieseckedevrient\jctt\smsTest\SMS.class
    parsing D:\save\smsTest\com\gieseckedevrient\jctt\smsTest\StringConsts.class
    converting com.gieseckedevrient.jctt.smsTest.IExceptionConstants
    converting com.gieseckedevrient.jctt.smsTest.ITestConsts
    converting com.gieseckedevrient.jctt.smsTest.InfoData
    parsing D:\java_card_kit-2_2\api_export_files\java\lang\javacard\lang.exp
    converting com.gieseckedevrient.jctt.smsTest.SMS
    parsing D:\java_card_kit-2_2\api_export_files\javacard\framework\javacard\framework.exp
    parsing U:\_Tools\java\43019-560\Annex_B_Export_Files\sim\toolkit\javacard\toolkit.exp
    converting com.gieseckedevrient.jctt.smsTest.StringConsts
    writing D:\save\smsTest\com\gieseckedevrient\jctt\smsTest\javacard\smsTest.exp
    writing D:\save\smsTest\com\gieseckedevrient\jctt\smsTest\javacard\smsTest.jca
    Verifier Error: Exception handlers not sorted in ascending order by the offset of the handler
    Verification failed

    Hello again,
    it seams this error only occurs when using javac from JDK 1.5/1.6 (1.4 not tested).
    When I us jdk1.3.1_11 to compile the java sources this error never occurs during conversion !

  • How do I get superscript and subscript on iPad? I have notability keynote and pages.

    How do I get superscript and subscript keys. I have pages notability and keynote.

    If you move to iOS 8 you can use keyboard extensions. For instance, I have an extension, Chemistry Keyboard, in the App Store that allows this, and there may be others.

  • How do I integrate Configurator and iPad Electronic Flight Bags with applications that utilize a third-party license and subscription that is outside of iTunes?

    I am the EFB (Electronic Flight Bag) Manager for a small aviation company that are using 10 iPad with Retina Display as approved in-cockpit EFBs.  Our plan is to configure and manage these iPad EFBs with Apple Configurator 1.3.  We also use 2 third-party applications for charts, aviation weather, and other aviation functions that depend on a seperate license and subscription with the vendor outside of iTunes.  What I am finding through my new education in Configurator is that there does not seem to be a way to maintain the subscription status with those two applications.  Is there a way to isolate those two programs from Configurator control?  Better yet, is there a way to integrate them with Configurator without losing the subscription status and loss of huge amounts of data that are on a regular, FAA regulatory update schedule?  Configurator is awesome at managing iTunes managed applications and is perfect for our company.  I need to figure out how to make Configurator work with a subscription-based application.  Please help!

    Here is what is surmise reading ForeFlight web site.
    There is the app and the data.
    You manage the app through configurator or some other MDM.   The acquiring and paying for the data is independ of the configurator. You can buy the data through the app or online.  You may want to buy online. This way you can do the buying independent of the ipad. Once you have purchased, the app will download the data.  You may have to tell it to procedure with download panel.
    Some people use configurator to install mdm app then do the rest of the configuration from MDM.  This allows wifi updates of configuration.
    You end up with managing apps from MDM. You manage with your data from from the online account.  You enter appropriate password on each ipad to gain access to the data. App will download your data.  My need to tell it what to download in app.
    How do I buy a subscription?
    Purchasing a subscription is fast and easy! You can purchase a subscription online or inside the app using your iTunes account.
    To purchase a subscription inside the app, launch ForeFlight Mobile and then tap the 'Account' icon. You'll see a list of available plans to purchase in the 'Subscription Plans' table. Tap the one you want to buy. Follow the instructions for entering your email address and iTunes password. When the purchase is complete, you'll receive confirmation inside the app and immediately be able to continue using ForeFlight Mobile.
    To purchase a subscription online, visit our secure online ordering page. You'll be asked to choose a plan and enter your credit card information. After your purchase is complete, you'll receive an email with a password to sign into the app on your phone or iPad.
    http://www.foreflight.com/support/subscription#66
    How do I update charts, plates, and the airport database?
    ForeFlight Mobile has a download manager designed to make selecting, downloading, and updating your data easy- whether you like to store a little or a lot. Tap the Downloads icon from within the ForeFlight Mobile app. The Download Manager allows you to select the types of items you want to download and store on your device. ForeFlight Mobile will contact our servers and display the available updates. If you download updates that are not yet effective (future data sets) they will automatically be used by the software when they become effective. The download manager lets you pause a download and resume it later.
    http://www.foreflight.com/ipad/faqs/#11

  • How can I get a file to copy all of the files in a directory except itself and the source of the copy function will be the directory the final program is in?

    How can I get a file to copy all of the files in a directory except itself and the source of the copy function will be the directory the final program is in? This application must be in Lab View 8.

    you mean something like this (see below)?
    Now you may have to implement code to check if the destination folder exists and to create it, etc.  But if you use the Front Panel Control to select the destination folder, it should be okay.
    Not the best implementation, mind you but you'll get the idea..
    Message Edited by JoeLabView on 04-18-2007 03:43 PM
    Attachments:
    copy folder contents.PNG ‏10 KB

  • I dont have any icons except computers and settings.  how do i find istore with all my previous purchased content?

    i dont have any icons except computers and settings.  how do i find istore with all my previous purchased content?

    That is the result when the Apple TV has lost the Internet connection.

  • 10g Signal Handlers and Dynamic Binding Problems on Mac OS X

    I have the following env vars set up, and it seems the client libs show a deadl\
    ock behavior post installation. SqlPlus exhibits a similar problem with 10g cli\
    ent libs on the Mac, since it simply hangs for 20 secs before returning the pro\
    mpt. I have G4 10.3.4 Mac, and 3.3 (1640) gcc, and still haunted by this probl\
    em...
    ORACLE_HOME=/Users/Oracle/10g/orahome
    ORACLE=ORACLE_HOME/bin
    ORACLE_BASE=/Users/Oracle/10g
    DYLD_LIBRARY_PATH=/Users/Oracle/10g/orahome/lib
    a) ktrace sqlplus user/pass@db
    b) kdump -R | grep sigaction gives:
    885 sqlplus 5.877734 CALL sigaction(0x2,0xbffff500,0xbffff570)
    885 sqlplus 0.001252 RET sigaction 0
    885 sqlplus 0.002032 CALL sigaction(0xd,0xbfff90f0,0xbfff9160)
    885 sqlplus 0.001831 RET sigaction 0
    885 sqlplus 0.001293 CALL sigaction(0x12,0xbfffb6e0,0xbfffb750)
    885 sqlplus 0.001234 RET sigaction 0
    885 sqlplus 0.001551 CALL sigaction(0x12,0xbfffbda0,0xbfffbe10)
    885 sqlplus 0.001401 RET sigaction 0
    885 sqlplus 0.001331 CALL sigaction(0x2,0xbfffd090,0xbfffd100)
    885 sqlplus 0.001333 RET sigaction 0
    This shows a 5.9 sec delay for the first sigaction, and a full response is received some long 20 secs later on the prompt.
    Some feedback from engineering regarding this issue since the 9i release has been:
    "This is a known problem with signal handlers and the lazy binding we have on Mac OS X. A small change to how Oracle library's signal
    handler is installed using _signal_nobind(3) and
    _dyld_lookup_and_bind_fully(3) could help to solve this problem.
    The problem that we are trying to avoid is a possible dead lock from
    code that could be called in a signal handler when the thread that
    gets the signal is in the middle of lazy binding a symbol. So when a
    signal handlers installed the default action is to cause it to be
    bound fully. This is made very expensive by the mismatch of the
    interfaces to signal(3) and segvec(2) like routines which are passed
    an address and the dynamic linker that wants a global symbol name. So the end result is to call the routine _dyld_bind_fully_image_containing_address(3) with the address of the signal handler to be bound. Which binds everything in the image (in this case the Oracle shared library).
    We have had problems like this before. For example: [This is what is
    done in usleep(3)]
    usleep()
    /* code removed for this example */
    setvec(vec, sleepx);
    #ifdef __DYNAMIC__
    _dyld_lookup_and_bind_fully("_usleep", NULL, NULL);
    (void) _sigvec_nobind(SIGALRM, &vec, &ovec);
    #else
    (void) sigvec(SIGALRM, &vec, &ovec);
    #endif
    static void sleepx(int unused)
    ringring = 1;
    The use of _sigvec_nobind(2) (or _signal_nobind(3) ) and the use of
    _dyld_lookup_and_bind_fully(3) will cause just the needed symbols used by the signal handler. "
    It seems this issue hasn't been resolved in the most recent 10g client release.Can anyone shed some light one this issue?
    For better demonstration, here is a series of steps we took here:
    sigaction.c - C file produced by "proc sigaction.pc"
    sigaction.pc - ProC source file
    gcc_sig* - Shell script to compile sigaction.c
    ktrace.sigtest - raw ktrace output from running sigtest
    ktrace.sqlplus - raw ktrace output from running sqlplus
    kdump.sqlplus - output of kdump -R on ktrace.sqlplus
    kdump.sigtest - output of kdump -R on ktrace.sigtest
    sigaction.lis - auxiliary file produced by proc
    1. sigaction.pc:
    #include <stdio.h>
    #include <stdlib.h>
    #include "/Users/oracle/10g/orahome/precomp/public/sqlca.h"
    int main(int argc, char **argv) {
    char user[30], passwd[30], db[40];
    char con_str[100], date[10], *icp;
    strcpy(user, "XXXXXXXX");
    strcpy(passwd, "XXXXXXXX");
    strcpy(db, "db_name");
    sprintf(con_str,"%s/%s@%s",user,passwd,db);
    EXEC SQL CONNECT :con_str;
    EXEC SQL SELECT SYSDATE INTO :date FROM DUAL;
    printf("SYSTEM DATE = %s\n",date);
    EXEC SQL COMMIT RELEASE;
    2. gcc_sig:
    #!/bin/sh
    CFLAGS="-I$ORACLE_HOME/precomp/public -I/usr/include"
    CFLAGS="$CFLAGS -I$ORACLE_HOME/lib -L$ORACLE_HOME/lib"
    ORALIBS="-L$ORACLE_HOME/lib -lclntsh $ORACLE_HOME/lib/nautab.o $ORACLE_HOME/lib/naeet.o"
    CC="gcc -g"
    PROG=$1
    OUTPUT=$2
    $CC $CFLAGS $PROG -o $OUTPUT $ORALIBS
    3. Generate the rest of the output files for your viewing of the results based on the commands provided above.
    Thanks!

    It's a delay, not a deadlock, that originatesfrom the way Oracle
    libraries handle dymaic bindings.to "dynamic" bindings. Maybe prebinding could help ?
    export DYLD_PREBIND_DEBUG=1ronr@[email protected]:/Users/ronr
    sqlplus "/ as sysdba"dyld: sqlplus: prebinding disabled because library: /Users/oracle/product/server/10.1/lib/libsqlplus.dylib got slid
    dyld: in map_image() determined the system shared regions ARE used
    dyld: 2 two-level prebound libraries used out of 5
    Ronald
    http://homepage.mac.com/ik_zelf/oracle/

  • My iPad will not let me log into iTunes because it says that there is an un excepted server, and I have no idea what to do

    My iPad will not let me log into iTunes because it says that there is an un excepted server, and I don't know what to do

    Go to the Home screen and double click the Home button. That will reveal the row of recently used apps at the bottom of the screen. Tap and hold on the app in question until it jiggles and displays a minus sign. Tap the minus sign to actually quit the app. Then tap anywhere on the screen above that bottom row to return the screen to normal. Then restart the app and see if it works normally.

  • Formulas, superscripts and subscripts with Pages on iPad?

    How to write formulas, superscripts and subscripts with Pages on my iPad? Do i need a third part app? If so, could anyone suggest one?
    Thank you!

    I've found a possible solution to insert equations and formulas without Latex or copy/paste images, only with Pages for iPad and without internet, using Pages tools. So, I have some examples of Pages documents. If you want to take a look them, give me your email and I'll send you an example.

  • I went to the apple store and they did a reset, I got all my apps back Except Pages and Numbers..how do I get them back..without paying...of course.

    I went to the apple store and they did a reset on my iPad...I was able to restore all my apps Except Pages and Numbers...those don't appear on my purchased apps at the App Store...how do I restore them...without paying for them again..of course.

    If you go into iTunes and sign in and then try to download them again it will let you redownload them. Just make sure you're signed in with the apple ID you used to buy them in the first place.

  • How to do The quotes and subscripts in pages??

    Hi guys,
    I don't know how to do the quotes and subscripts in pages for iOS...
    Someone can tell me this??
    Sorry for my English, I'm not American...

    You can create left and right single quotes with option + }, and shift + option + }, respectively.
    Double quotes work the same way using the { character substituted above.
    Menu > Format > Font > Baseline:
    Superscript is control + command and +
    Subscript is control + command and -

  • Exception.log and mail.log stopped logging (MX7)

    Hi all - we have been experiencing intermittent problems with our MX 7.02 server & checked the log files to help diagnose the problem.
    However both exception.log and mail.log appear to have stopped logging information in June 2010.
    The size of the logfiles is only 178K and 34K.
    Does anyone know why they've stopped & how to restart the logging?
    Many thanks
    cf_rog

    On CF7 as far as I know you need to restart the CF server. In CF9 you
    can selectively enable/disable logging for those files and thus
    attempt to restart logging.
    Mack

  • Exporting superscripts and subscripts to ePub file

    Anyone know?  How can superscripts and subscripts be exported to an ePub file?

    Hi John,
    A report with saved data can be altered using an updated record selection formula prompt without hitting the DB again.
    For example your report returns each Country sales records, You export that to RPT format or save data with report from the designer. Now you can hit the refresh button and if you have a Country Parameter it will prompt and you to use the saved data, do this for each.
    Bottom line is CR Designer does not have the ability to export subreports to a unique file in one refresh. You can using the above, export 5 times, one for each subreport. You have to set up the report do filter for each of course.
    CR Server and BOE has a feature like this. As well as being able to schedule for each user. In that case though you can simply create a report for each and not bother with subreports.
    Thank you
    Don

Maybe you are looking for

  • Create Downpayment Request, even when Credit Block is there

    Hi! All,           I have a scenario, where I need to create a Down Payment Request (Billing document tye FAZ), even when the Sales Order has a credit Block. I have remove the Block from Billing plan in Sales Order. When I am trying to create a FAZ D

  • IPod Touch 5th gen - GPS Very Vague / Not Working Well at All

    I've been trying to use the NavFree GPS app on my new iPod touch 5th generation.  All I can say is that it sort-of works - in so much as it displays the vague vicinity I'm in within a few streets, however most of the time it just seems to be constant

  • Error KBAPI 002 in BAdi Retraction BPC to ECC

    Hello experts, We are using the BAdi for retraction to ECC but the information is not showing in the report it should be. We were debugging and we found an ERROR: KBAPI 0002 , The message says "Transfer a CO oobject". We do have a Cost Center that is

  • == operator question

    Hi! I'm typing three parameters from the keyboard and if parameter 3 is equal to 1 the subtract function is invoked (like in the code below). I get errors when I try to compile the file. Can someone please tell me what import files I need to include

  • What to set pause button to when using invisiblepause swf

    Hi Folks- I am using the invisiblepauseplay swf in my project in Captivate 4.  I have it set to rest of project.  What should I set the pause button that sits underneath it to for best functionality? Continue? No action? Thanks for your help? Rita