Exception code different between 9 and 10

Hi all
i have a java application based on Oracle.Since now i have only 9i version of oracle and then i manage exception using 9i exception code definition, but now the same application run also on 10g so i get some problem to catch exception.For example value too large in 9 is 1401 and in 10g is 12899.Is there some relationship between the two different exception encoding?Or have i to catch both the code exception?is possible that some old code are a different exception in 10g?

yes i know but now i have
if(e.getErrorCode() == 1401)
so the only solution is
if(e.getErrorCode() == 1401 || e.getErrorCode() == 12899)
?

Similar Messages

  • TP return code - Different between SE01 and AIX log file

    Hello all,
    Since 2-3 days our transports (done manually on AIX level) on a test system, give a return code 8 in the log file on the unix server while when we check SE01 the transport log has a return code 0 and everything is imported successfully.
    The script on unix is as follows:
    tp addtobuffer $NAME ST2 pf=TP_DOMAIN_SM2.PFL
    tp import $NAME client=999 ST2 pf=<Profile_name> > $LOG
    I have searched in SAP Net  and nothing found.
    Any idea?
    Rgds,
    Loukas

    This is also the log from the transport request.<SID>  where the difference in the error code is apparent:
    1 ETP199X######################################
    1 ETP156 GENERATION OF REPORTS AND DYNPROS
    1 ETP101 transport order     : "SM2K941036"
    1 ETP102 system              : "ST2"
    1 ETP108 tp path             : "tp"
    1 ETP109 version and release : "340.16.37" "640"
    1 ETP198
    1 EPU141 Generation of programs and screens for transport request "SM2K941036"
    4 EPU142      on application server "sapbrp03"
    1 EPU143 Only generates programs with LOAD versions
    1 EPU145 Start on "26.06.08" at "08:22:46"
    1 EPU144 -
    2 EPU146XGeneration of the transported programs
    2 EPU144 -
    3 EPU165 Program "ZSCO_INTERFACE_MERCUR" successfully generated
    4 EPU153 Database COMMIT executed
    2 EPU144 -
    2 EPU147XGeneration of the users of the transported Includes
    2 EPU144 -
    2 EPU144 -
    1 EPU149 Ended on "26.06.08" at "08:22:47"
    1 EPU150 No. of programs  /Min/Avg/Max (sec): "1"   "1" "1" "1"
    1 EPU144 -
    4 EPU153 Database COMMIT executed
    1 ETP156 GENERATION OF REPORTS AND DYNPROS
    1 ETP110 end date and time   : "20080626082247"
    1 ETP111 exit code           : "0"
    1 ETP199 ######################################

  • How the implementation differs between BW and BI , Is BI takes more time fo

    Hi All,
    I would like to know difference between implemenation and time lines for MM as mentioned below.
    How the implementation differs between BW and BI , Is BI takes more time for implementing MM module  than on BW?
    Thanks in advanced. (Full points will be awarded)
    With Regards,
    PCR

    Hi Timo,
    Thanks for response!
    But as i read from the following url: http://docs.oracle.com/cd/E15051_01/apirefs.1111/e10653/oracle/jbo/ViewObject.html, the setQueryTimeOut(int timeOutMills), the timeOut is mentioned in milliseconds. Please correct me if I am wrong.
    and i have overriden the executeQuery() method in the View Object Impl class as shown below:
    public void executeQuery() {
    Map sessionScope = ADFContext.getCurrent().getSessionScope();
    sessionScope.put("MyQuery", this);
    try {
    super.executeQuery();
    } finally {
    sessionScope.remove("MyQuery");
    throw new JboException("Query Taking too long to respond");
    and in the JAVA class i am calling the above method like this:
    monitor.setQueryTimeOut(6);
    monitor.executeQuery();
    But the issue is:
    1. The above exception message is getting carried forward to other pages as well. I mean somewhere in the session/ADFContext this message is being saved and error comes up/pops up when i click on other tabs of the page. How do i clear this?
    2. The above exception message is coming for the first time but when i click the 'Submit' button second time, i am getting the results and also the message that 'Query is taking too long to respond'. This should not be the case, everytime it should show the same message as the timeout limit is less and the query should end without fetching the results.
    Kindly let me know how to resolve the above issues, any pointers will be helpful.
    Thanks in advance.
    Edited by: user9223904 on Nov 3, 2012 4:42 AM

  • Different between CIF_GEN4_CONVERT_DATETIME and CIF_GEN_CONVERT_TIMESTAMP

    hi guys,
    may i know what is the purpose and different between CIF_GEN4_CONVERT_DATETIME and CIF_GEN_CONVERT_TIMESTAMP?
    another question is sy-datum is client dependant date?
    thanks.
    BK.

    First FM OUTPUT is {UTC time stamp in short form (YYYYMMDDhhmmss)}
    Second FM used based on plant it will give Plant date
    CALL FUNCTION 'CIF_ORDER_TIMEZONE_GET'
           EXPORTING
                IV_PLANT    = L_PLANT
           IMPORTING
                EV_TIMEZONE = L_TIMEZONE.
      CALL FUNCTION 'CIF_GEN_CONVERT_TIMESTAMP'
           EXPORTING
                IV_TIMESTAMP           = I_EXPLOTIME
                IV_TIMEZONE            = L_TIMEZONE
           IMPORTING
                EV_DATE                = E_R3_DATE
           EXCEPTIONS
                TIME_CONVERSION_FAILED = 1
                OTHERS                 = 2.
      IF SY-SUBRC <> 0.
        E_ERROR = CON_X.
        CLEAR E_R3_DATE.
      ENDIF.
    If it is useful please give me reward point.
    Thanks
    Murali Poli

  • CIC0 Partner determination different between crmd_order and CIC0

    Hi experts,
    We have a problem with the partner determination. We have a partner who has relations with several other partners. In the partner determination procedure, we have indicatied that the partner needs at most one occurence and a selection limitation of 1. There is also an access sequence that makes sure that the right partner is found.
    This all works fine in the CRMD_order transaction. You get a list of partner to choose from when you enter the main partner. Unfortunately, this does not work in the CIC0 transaction. In this case the system takes the top partner of the list.
    Does anyone know why partner determination in CIC0 seems to ignore the setting of selection limitation and occurences? Why is this different between crmd_order and CIC0? How can we make it the same?
    Thank you for your input,
    kind regards,
    Ragina Mahadew

    Hi Ragina, welcome to SDN.
    My opinion is that main purpose for that, was to speed up the interaction registration by the call center agents.
    But if you want to display the partner selection pop-up in CIC0 t-code, you can try to implement note 487734 for that.
    Hope that helps!
    Kind regards,
    Garcia

  • Hi, my MacBook Pro cannot open Safari. nexpectedly while using the librooksbas.dylib plug-in" the report details the exception code as 'EXC_BAD_ACCESS (SIGSEGV)' and exception codes as: 'KERN_INVALID_ADDRESS at 0x0000000920

    Hi, my MacBook Pro cannot open Safari. It crashes and gives the message, ' Safari quit unexpectedly while using the librooksbas.dylib plug-in" the report details the exception code as 'EXC_BAD_ACCESS (SIGSEGV)' and exception codes as: 'KERN_INVALID_ADDRESS at 0x0000000920

    Remove "Rapport" by following the instructions on this page.
    Back up all data before making any changes.

  • Why is different between consumption and spare part material Amount in Accounting?

    I go to mb51
    in Accounting document there is different
    l found the standard price was changed in the last . it was changing from 850,000 to 1000
    i don't know why is different between consumption and spare part material Amount Accounting??? please help me . how can I solve it?

    pay attention just first document has a different accounting amount . in others there aren't different .see these screenshot :

  • What is the different between statement and preparedstatement?

    hi,
    recently i have attended a telephonic interview. they asked me what is the different between statement and preparedstatement? and when u will use them? Hi! can any one say me the original difference??

    sorry dear,
    i am already shortlisted. and monday is my HR round.
    . Every 1 is not like u.
    So you have read the examples and explanations that you found when you googled, and you have read the javadoc and you still don't understand? And you are shortlisted? For what? I hope you won't do server programming.
    I will give you a few hints.
    Escaping of data
    Storing of dates
    Safer
    Faster

  • FB60 screen change layout different between DEV and PRD

    Hi,
    I'm having problem with transaction FB60. When i try to change the layout in PRD, in screen Edit System Setting, some of the field showing 0 length. For example in WBS element field, in DEV show length 24 but PRD show length 0. I try to compare the version but it is same (program & table structure - ACGL_ITEM). When I debug the program, found out that it will get the structure from sap internal c program call 'AB_GET_CX_DATA'. So, maybe this program version are different between DEV and PRD.
    Anybody knows what is the cause of this problem? Or maybe somebody can tell me how to check sap internal c program.
    Thank you very much.

    Yes. FB60 is Enter Vendor Invoice. In this screen you can see a table with column such as GL Acct, Debit/Credit, Amount in DC, Cost Center and others. You can add or remove some of the field using Table Setting and create Screen Variant. My problem is, the length of WBS Element and Profit Center field is 0. How to change the length.
    I already searched in forum but I only found how to create screen variant.
    Thanks.

  • What is the different between component and component type in extract struc

    Hi All,
    What is the different between component and component type in the Extract Structure?
    I used them, but I never really know the different between them yet.
    Thanks,
    Grace

    The difference between Component and Component Type are:
    Component This is essentially the field name in the extraction structure. These can either be SAP delivered field names or custom field names (e.g. Y* or Z*).
    Component Type This defines the data definition for the field, along with associated attrributes and descriptions for anything using that Component Type, to define the corresponding Component. If you double-click on any Component Type in an extraction structure, it will show you the definitions that have been setup for that Component Type (will display as Data Element but it's essentially synonymous - Component Type refers to structures and Data Elements refer to tables).

  • What is different between Analytics and VC Forum?

    Hi Experts!
    I don't know what is different between Analytics and VC forum in SDN. of course, Analytics is not Visual composer.
    But, I guess that most of analytics questions will be related to Visual Composer in this Analytics Forum.
    How about your opinion?

    Hi Young
    Analytics is business process oriented and thus it's domain is BPX hence it is placed under forum for BPX(Business Process Expert).
    VC is a tool and it is in technology domain.
    First we discuss a scernario based on particular business process. Then we prepare detailed level of analysis-reporting and actionable analytics this business process would need. Then we use tools like VC to accomplish this actionable analytics.
    Hope this helps
    Regards
    Pradip

  • What's Different Between ODI and FDQM ?

    I need to know What's Different Between ODI and FDQM ?

    At is simplest ODI is an enterprise scale ELT tool that can cope with moving very large amounts of data bwteen heteregeneous systems. It requires a fair degree of technical knowledge to use well and that the user is pretty competent with SQL. It is not really an end user tool and the jobs tend to be lights out scheduled processes with a limited user interface for executing these jobs. FDQM is more of a data quaility tool which gives the average end user the out of the box functionality to be able to transform and load data into various target systems. It is not designed to move very large amounts of data efficiently i.e. multi millions of lines of data like ODI. However it does have a rich user interface that provides an easy to use mapping engine, a repeatbale controlled data load process and has a host of in built reporting and audit features which would have to be built from scratch in a tool like ODI

  • What's different between OWB9i and Discorver4i?

    1.What's different between OWB9i and Discorver4i?
    2.Discorver4i is ROLAP or MOLAP or HOLAP?

    1.What's different between OWB9i and Discorver4i?
    OWB9i is a tool used to create data marts or data warehouses. You would use it to create the ETT Extraction, Transformation,
    and Transfer or Load (ETL). Discoverer is a reporting tool.
    2.Discorver4i is ROLAP or MOLAP or HOLAP
    Discoverer 4i is a ROLAP tool. Relational OLAP.
    Christopher
    www.iloveapple.com

  • What' s different between color and swatches?

    what' s different between color and swatches?

    1.What's different between OWB9i and Discorver4i?
    OWB9i is a tool used to create data marts or data warehouses. You would use it to create the ETT Extraction, Transformation,
    and Transfer or Load (ETL). Discoverer is a reporting tool.
    2.Discorver4i is ROLAP or MOLAP or HOLAP
    Discoverer 4i is a ROLAP tool. Relational OLAP.
    Christopher
    www.iloveapple.com

  • There is a tax code difference between PO and MIRO

    There is a tax code difference Between PO and MIRO.tax code is VO in PO but it must be T8 becuase invoice is T8.can you please solve this issue ?
    Thanks & Regards
    Raj

    Hi
    Put the Tax code same in PO and MIRO, because In F-47 you have to give the PO no in it. Then create MIGO, Then F-48 and then create MIRO, and Then F-54 Then F-58.
    Thanks
    Anil

Maybe you are looking for

  • ASA 5505, how to configure DMZ to Inside traffic flows

    Dear. We have a Cisco ASA 5505 with an outside, inside and DMZ interface. We really need all these interfaces. The DMZ interface has been configured to block any traffic to the inside (restrict traffic flow). This restriction can't be disable, an err

  • How do I upload fotos from iPhone and store on computer?

    I need to know how to upload fotos from my fone and store on my computer

  • Meaning of an operator in ABAP

    Hi Experts , I have encountered this statement in a standard ABAP program. What is the meaning of this operator. if   plock  CA  "2". Can any one explain the meaning of this operator. Thanks, Shree

  • Change photo album cover pic

    Is there any way to change the "cover" picture that is a associated with an album and displayed on the album list screen? I'm using ios7. Thanks

  • Error src/timecode.cpp995

    Premier Elements 7....when I choose DV Camcorder I get this error src/timecode.cpp995. It is followed with this: Runtime error adobe premier element.exe. Folowed with this: the exception unknown software exception (0xc000000d) occured in the applicat