Error : Old and new exceptions cannot be used at the same time.

HI ALL,
i build a new exception class with message class and i want to replace the
old exception that i had in the method ,what i did is delete the exception from the method
signature and add the exception class .
the problem is that when i try to activate the method i get error :
Old and new exceptions cannot be used at the same time.
CALL FUNCTION 'CALCULATE_HASH_FOR_CHAR'
      EXPORTING
        alg            = 'MD5'
        data           = iv_iss
      IMPORTING
        hash           = lv_issu
      EXCEPTIONS
        unknown_alg    = 1
        param_error    = 2
        internal_error = 3
        OTHERS         = 4.
    IF sy-subrc <> 0.
      RAISE EXCEPTION TYPE cx_user_mng EXPORTING
      textid = cx_user_mng=>wrong_isrs.
    ENDIF.
I want to use the new exception class ,
how can i avoid this error ?
Best Regards
Edited by: Joy Stpr on Jul 22, 2009 2:56 PM
Edited by: Joy Stpr on Jul 22, 2009 3:16 PM

Hi Joy,
Check this link.
[Old and New Exceptions Cannot be used at same time|Urgent problem, give me a hand;
Old and new exceptions cannot be used the same time, what does this mean???
Regards,
Lakshman.

Similar Messages

  • InCopy CS4 and InDesign CS4 cannot open file at the same time!

    I have 2 editors that make changes in my indd file. The one editor is able to open the file concurrently with myself (i'm in indesign) just fine. But when the other editor wants to open the file....I cannot open the indd file and vice versa. We are PC based.
    shane

    Yes, we are all working on the same server.
    And Yes on the Editor A / scenario 1  (Designer opens file and Editor A opens file concurrently). works fine.
    Editor A closes out of Incopy and so does Designer. Editor B opens the file and Designer tries to open the indd file and now the designer gets the warning: Cannot open document. You may not have permission or the document may be open already. This is the same error if the Designer opens the file first and Editor B tries to open it while the designer has it open.
    Editor A and B are able to have the file open at the same time no problem.
    Also this happens to all indd files that Editor B tries to open. So it is not linked to a problem with the file.
    one other note: on the server just above the indd file...when Editor B has the indd open in InCopy... a 'temporary' Indesign Lock File appears.
    shane

  • SSRS countrow Aggregate error(Aggregate and lookup functions cannot be used in query parameter expressions.)

    Below expression works fine with text box but gives error in dataset expression.
    ="SET FMTONLY OFF select  "+ join(Parameters!Column.Value,",") +" FROM pamcustom.dbo.vw_HFL_HFD_HotfileData INNER JOIN pamcustom.dbo.HFL_HFB_HotFileBatch  on BatchID = HFB_intBatchID where BatchID ="+Parameters!BatchId.Value+"
    and "+Parameters!cmbTranType.Value+" "+ iif(CountRows("DS_Aml_Mnr_Iss_Desc")=Parameters!Mnr_Iss_Desc.count," "," and aml_mnr_iss_desc in "+"('" & join(Parameters!Mnr_Iss_Desc.Value,"','")
    & "')")+iif(CountRows("ds_ReportingCategory")=Parameters!ReportingCategory.count," "," and ReportingCategory in "+"('" & join(Parameters!ReportingCategory.Value,"','") & "')")+iif(CountRows("ds_NAICSubGroup")=Parameters!NAICSubGroup.count,"
    "," and naicsubgroup in "+"('" & join(Parameters!NAICSubGroup.Value,"','") & "')")+iif(CountRows("ds_PortTrading")=Parameters!PortTrading.count," "," and porttrading in "+"('"
    & join(Parameters!PortTrading.Value,"','") & "')")+iif(CountRows("ds_GL_LE")=Parameters!GL_LE.count," "," and gl_le in "+"('" & join(Parameters!GL_LE.Value,"','") &
    "')")+iif(CountRows("ds_coagroup")=Parameters!cmbCoaGrp.count," "," and coagroup in "+"('" & join(Parameters!cmbCoaGrp.Value,"','") & "')")+iif(CountRows("Portfolio")=Parameters!cmbPort.count,"
    "," and portfolio in "+"('" & join(Parameters!cmbPort.Value,"','") & "')")+IIf(IsNothing(Parameters!txtSecID.Value)," "," and secid in ('"+Replace(Parameters!txtSecID.Value,",","','")+"')")+iif(IsNothing(Parameters!minPortFilter.Value)
    and IsNothing(Parameters!MinPort.Value)," "," and portfolio "+Parameters!minPortFilter.Value+Parameters!MinPort.Value)+iif(IsNothing(Parameters!maxPortFilter.Value) and IsNothing(Parameters!MaxPort.Value)," ","
    and portfolio "+Parameters!maxPortFilter.Value+Parameters!MaxPort.Value)+iif(IsNothing(Parameters!minCoaFilter.Value) and IsNothing(Parameters!txtMinCoa.Value)," "," and portfolio "+Parameters!minCoaFilter.Value+Parameters!txtMinCoa.Value)+iif(IsNothing(Parameters!maxCoaFilter.Value)
    and IsNothing(Parameters!txtMaxCoa.Value)," "," and portfolio "+Parameters!maxCoaFilter.Value+Parameters!txtMaxCoa.Value)
    I guess the error " Aggregate and lookup functions cannot be used in query parameter expressions." is because I am using CountRow to ensure that if all values of multi select all selected i will not use that filter in where clause.
    Pls. guide...

    Hi, Include your parameter total count in the dataset for parameter and instead of using countrows() function use the count from dataset in the expression.
    Hope this helps.........
    Ione

  • Please help, i connect my phone to computer and gives me error code this i phone cannot be used because the apple mobile device is not started

    please help, i connect my phone to computer and gives me error code this i phone cannot be used because the apple mobile device is not started

    http://support.apple.com/kb/HT1923
    uninstall and reinstall
    there is a complicated way to work with just the mobile device support but its simpler just to uninstall itunes and related components and then reinstall itunes
    ur music will be fine, u will just lose the playlists. but ur mobile device support will be working again.

  • HT2589 ibooks still gives me the following error message "This Apple ID cannot be used for the iTunes Store."

    I've done all of the above suggested sign in methods, and yet ibooks gives me the following error message "This Apple ID cannot be used for the iTunes Store."

    Found this in the forums here, it works.
    "OK...I think I have found a solution.  In settings, select tunes &amp; app store.  click on Apple ID> View Apple ID>Payment Information. It appears it is not saving or requiring payment information to be updated. This worked for me."
    Thanks

  • When attempting to sync my sons ipod touch I am receiving an error that states: This ipod cannot be used because the Apple mobile device is not started.

    When attempting to sync my sons ipod touch I am receiving an error that states: This ipod cannot be used because the Apple mobile device is not started.

    http://support.apple.com/kb/ts1567 see here .

  • TS2972 how many IOS (iPads) can be used at the same time, and as a maximum, with home sharing?

    I would like to use multiple iPads at my residence and use home sharing for guests to watch content from my i-tunes, all on the the same network.
    what is the maximum number of IOS devices that can used at the same time, and be authorised on the "home sharing" at the same time?

    Thanks for a quick response!
    Under "Network adapters", here's what I found:
    - Broadcom 802.11g Network Adapter
    - 1394 Net Adapter
    - Marvell Yukon 88E8036 PCI-E Fast Ethernet Controler
    Two other wireless USB adapters are the same:
    - BLANC Mini Wireless USB adapter

  • How can i use in the same time input line and mic to recorder in several track whit SONAR

    I have beem recording only input line because SONAR 4 not recognized the mic in, Help me!!!.
    Thank you. Sorry for my english

    LIMACAR wrote:
    How can i use in the same time input line and mic to recorder in several track whit SONAR 4. I have beem recording only input line because SONAR 4 not recognized the mic in, Help me!!!.
    Thank you. Sorry for my english
    Depending on which soundcard you have there, but if your card is capable for
    ASIO -> activate I/O drivers on Sonar/Options/Audio/Drivers -tab (mic/line sources should be listed there --> activate) and select the mic or/and Line sources on tracks "I" - dialog
    WDM/KS -> use the Surround Mixer or windows recording controls for recording source selection (mic should be listed there)
    MME32 - > same w/ WDM/KS
    If you use Asio4All --> same w/ WDM/KS & MME32
    No mic and line source simultaenously w/ WDM/KS and MME32.
    You perhaps be able to do this w/ kX drivers.
    jutapa
    ADDED:
    You can also install modded version of Audigy 2 drivers/software but I have never done this w/ Li've! 5. so I can't be sure if you get ASIO support for your card.
    Here are the instruction --> http://www.tech-pc.co.uk/audigy-2.php
    jutapaMessage Edited by jutapa on 05-25-2006 02:48 PM

  • Whenever I open a new tab a new window is also opening at the same time, and when i close that tab thet window is also closing. what to do?

    Whenever I open a new tab a new window is also opening at the same time, and when i close that tab that window is also closing. what to do?

    Swarnava, thank you very much! that did it and I am Bing-less . . . OH HAPPY DAY!! WOOHOO!!!! thank you, thank you, thank you!

  • Extremely difficult to toggle switches on and off in settings in iOS6, on multiple devices, iP5, 4S, 4 and new iPad. Are others finding the same issue?

    Extremely difficult now to toggle switches on and off in settings in iOS6, on multiple devices, iP5, 4S, 4 and new iPad. Are others finding the same issue?

    I solved this by reset of the Wifi (unplug cable and power to both modem and wifi ... wait 60 sec ... plug in modem cable and power ... plug in wifi power and LAN to modem ... restart AppleTV and Mac ... Turn Home Share 'OFF' in iTunes then back "ON" ... it took ~60 sec for the AppleTV to pick up my Mac in computers.

  • How can I record an Audio Instrument (saxophone) and listen to a reference track at the same time?

    How can I record an Audio Instrument, and listen to a reference track at the same time?

    Are you using an external audio controller or the line-in and headphone jacks on the side of your computer? You shouldn't have an issue using headphones when you're recording through the line-in but you may want to make sure you have monitoring on and it's going to the right place.
    If you're using an external audio controller, try making an aggregate device combining the controller and the "built-in output" into the same device. Go to Applications/Utilities/Audio MIDI Setup, click the "+" sign at the bottom left to make a new device and check the "use" boxes to the left of the physical devices you want to use as part of that aggregate device. That is how I use the computer's speakers or headphones to monitor my input as opposed to only being able to use the output on my audio controller.
    Now that I see some of the questions on the side of this page I realize that the 13" MBPs seem to have only one combined input/output jack... That is an incredibly stupid feature. What on Earth could possibly justify that design decision? I suppose if that's the problem you're having you'll have to buy some sort of splitter (if they even make them) or get an external audio controller like an Apogee Duet or something along those lines. I would be furious if they combined those two jacks on all of the MBPs.

  • Remote and direct update of master data at the same time

    Hello
    Is it possible to do remote and direct update of master data at the same time? If yes where it could be used?
    Thanks

    Hi,
    What do you mean by Remote Update ?
    regards
    Happy Tony

  • Is it possible to connect the iPad to an Infocus and a remote for ppt presentations at the same time?

    I've always used PC and I'm planning on making the transition to Mac.  That's why I'm considering buying an iPad. Today I went to Best Buys and the Mac guy told me that it isn't possible to connect the iPad to an Infocus and a remote for ppt presentations at the same time. Is that true?  I'm a speaker and that was the main reason I was considering buying an iPad, so I didn't have to carry my laptop. Thanks for your help!

    Thanks for your reply. Looks like it can as I have just found this https://www.youtube.com/watch?v=nKp02y4JXVs

  • We are a creative design studio, we need to use apple mac pro server , so we can make more than a different user to use at the same time doing different activities, on different screens, is it possible?what is the max. no. of users that can work efficient

    we are a creative design studio, we need to use apple mac pro server , so we can make more than a different user to use at the same time doing different activities, on different screens, is it possible?what is the max. no. of users that can work efficient.
    Appreciate your support and if possible , how to do this?

    If you want to work with Mac OS X, you need one computer per simultaneous user.
    What you are describing, " Multiple simultaneous logins to a single computer" is not avialable on a regular Mac of any description, unless you decide to use Unix tools instead of Mac OS X.
    Server will happily store files for many, many users and provide them to multiple (up to hundreds) of computers at "near hard Drive" speeds over Gigabit Ethernet. It can make the File Sharing part easy.

  • How to use at the same time the audio sounds of a keyboard & the midi sounds with mainstage

    Hello! hope you can shed some light on my problem! I want to be able to use at the same time the real sounds of korg sv-1(stage keyboard, but it could be any stage piano with USB midi) and use other sounds from mainstage. Of course i switch between patches and sets with a footpedal so i can be quick with my changes of sounds so I try to keep my hands on the keys.
    My question is: Is there a way that one moment for example i have a silend patch (from mainstage) and the real sound i want passing through audio and the next moment silence from korg and the next patch a sound from mainstage? Or even combine them. I mean in general how am I able to integrate the sounds I prepared and organised in patches in mainstage with the beautiful piano & rhode sounds of my sv-1?
    thanx in advance for your response!

    Yes. To have a silent Mainstage patch, simply do not create any instrument channel strips. To have the SV-1 silent on a patch you should be able to set and save the volume for that patch to 0. As an alternative you could turn local off on the SV-1( this function will reset to local on after the SV-1 has been turned off). With local off you can determine with each Mainstage patch whether or not you want to transmit MIDI to the external instrument(SV-1) channel strip. If you have local on, be careful not to create a MIDI feedback/loop with the SV-1. This is a lot of info to digest at once, so take it slowly, step by step. Snapshots below are somewhat in order.
    Click on the cog wheel in the upper right corner of the channel strips section to get to this menu. Select add external instrument channel strip.
    The external channel instrument strip will look like this.
    Click on the MIDI output box to show the display below and choose your external keyboard destination(SV-1).
    In the channel strip inspector you can send patch changes to the SV-1.
    Here is where you select the MIDI input for routing MIDI to the SV-1. If want no SV-1 sound for this Mainstage patch, select none.
    You'll need to play with these parameters to get the desired results. Stepping through the MS patches with a footswitch can be done, too, but that can wait for now. Post another question when you master these steps.

Maybe you are looking for

  • Why can't I print WORD documents created on my MACBOOK from a PC?

    Our daughter is unable to print documents created on her MACBOOK from a PC.  She has been saving her documents as WORD files, but the PCs in the university computer lab still do not recognize the document, and consequently she cannot print them from

  • Migrating Netscape Bookmarks

    Hi, Received my new machine Thursday and am loving it! Upgrading from B&W G3 so unfortunately I can't use migration assistant as the G3 doesn't support Firewire target mode. Synced all my stuff through .mac and it was painless. Cloned my 2 hard drive

  • Acrobat X Send attachment

    Hi I just install Win7 and Acrobat Pro X on a new PC. When viewing a pdf in Acrobat or Firefox, I have the option to send the current PDF as an attachment (or link in browser). The send as link don't show up in Firefox it goes direct to an e-mail att

  • Rename particular XML Tag

    Hi Indesign Experts,           I'm confused a lot in the below issue. I'm have a indesign document. In the xml structure, If i select a element, and trying to rename the selected item's markupTag.name, it's changing all the elements with the selected

  • HELP!!!!  FLASH INTRO!!!!!

    hello all, i created a flash intro for my site (only 162k). when i launch my site (jimfioredesign.com) on various browers, on different machines, with different connectivity (t1, cable, etc), there is a 3-5 second delay before it plays. does flash ha