Jdev11g; Customizing the Error Messages from the Business components

Hi all

Using Jdeveloper 11.1.1.2. I customized the BC error message using message bundle. My bundle of message class is

SerializableAttribute public class MessageBundle1 extends ListResourceBundle {}
private static final Object [] [] sMessageStrings =
New String [] [] {}
{"Houston-26048',"child records exist against the selected record"},
{"EMP_JOB_FK", "there are the child records to selected record" ""},
{"Houston-25013',"record already exists"},
{"JOB_ID_PK", "' Job ID already exsist" "}
};

/ * Return string identifiers and the corresponding Messages in a two-dimensional array.
*/
protected Object [] [] getContents() {}
Return sMessageStrings;
}
}


Need help on two or three issues, I am confronted with this: -.

(1) although I gave the error message for Houston-25013 and JOB_ID_PK, always I get after the error message on the user interface, when you save the new record
"Too many objects correspond to the oracle.jbo.Key [AD_PRES primary key]."?
(2) why do I get "Attribute in HrModule.JobsView1 JobId is required." with above the error message in the error popup window?
"(3) when removing the record, even though I'm getting desired error message on UI ' oracle.jbo.DMLConstraintException: there are the child records to selected record", why the error message is prefixed by "oracle.jbo.DMLConstraintException".?
(4) how can I locate the error messages in another language?

Thank you
Vikram

Published by: Vikram K on March 22, 2010 15:23

Hello

Just put the number of the error, instead of Houston-25013 1), try with 25013

For 4) you must create a second resource group with the locale in his name. ex I have a BCBundle.java for English and a BCBundle_fr.java for the French
Check the guide FusionDev and WebDev guide for information on the locale and the beams of the resource.

HTH

Concerning
Paul

Tags: Java

Similar Questions

  • Cannot print and get an error message from the printer saying to close the scanner cover

    Original title: I can't seem to print on my Epson Workforce 845.

    I can't print from my computer running Windows 7 Home. I get an error message from the printer telling me to close the scanner cover. I can print without problem of my computer running Windows 7 Enterprise.

    Hello

    (1) is your computer connected to a network?

    (2) did you of recent changes to the computer before the show?

    (3) what is the exact error message?

    You can run the troubleshooter printer on the computer that faces the question and check if it solves.

    Open the printer Troubleshooter

    http://Windows.Microsoft.com/en-us/Windows7/open-the-printer-Troubleshooter

    You can also consult the following articles and check if it helps to solve the problem.

    Printer in Windows problems: http://Windows.Microsoft.com/en-us/Windows/help/printer-problems-in-Windows

    Install a printer: http://Windows.Microsoft.com/en-us/Windows7/install-a-printer

    For any further assistance, I'd contact Epson printer manufacture support.

    Here is the link: http://www.Epson.com/cgi-bin/store/support/supDetail.jsp?BV_UseBVCookie=Yes&OID=184583&infoType=overview

  • How to display the error messages from sql/pls call

    Hello

    How can I display error messages from pl/sql calls on application pages?

    Current situation:

    If I specify "Error message" in the process - well, that's what I'm going to get on the page.

    What I want:

    I would like to have the specified aka "user friendly" message with the actual pl/sql routine. so it helps me to understand where the error occurred.

    Hi AZZ.

    AZZ says:

    How can I display error messages from pl/sql calls on application pages?

    Current situation:

    If I specify "Error message" in the process - well, that's what I'm going to get on the page.

    What I want:

    I would like to have the specified aka "user friendly" message with the actual pl/sql routine. so it helps me to understand where the error occurred.

    Yes, agree with orpheus4192. Use the APEX_ERROR. ADD_ERROR API.

    Reference:

    Kind regards

    Kiran

  • error message from Windows media player C00D0FEA

    What is the error message from windows media player C00D0FEA and how to fix it?

    Hi blaque007,

    (1) when exactly you get this error message?

    (2) since when are you facing this problem?

    Please quote the complete error message you receive.

    C00D0FEA: this error may have been triggered by an error in another program or a component of Windows.

    See the link below

    C00D0FEA

    Method 1: You can check the link below that relates to a similar question

    http://social.answers.Microsoft.com/forums/en-us/vistamedia/thread/1bb18155-1614-4ad6-9e78-90bcd08deb0a

    You can see the link below for more information:

    Solve problems in Windows Media Player

    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-problems-in-Windows-Media-Player

    Thanks and greetings

    Ajay K

    Microsoft Answers Support Engineer
    ***************************************************************************
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Customization examples of Error Messages from the Business components

    Hi I followed this example and this: http://jobinesh.blogspot.de/2011/03/customizing-business-components-error.html, I followed the instructions but its does not work wins my request I re - create the problem, I check with the sample of work I did everything what I see in the sample of work, but mine does not always someone can check what I'm missing I download in this host file I used http://www.datafilehost.com/download-9d37bd8a.html hr diagram. am using jdeveloper 11.1.1.6.0
    I created the two class and one of them
    <Application xmlns="http://xmlns.oracle.com/adfm/application"
                 version="11.1.1.59.23" id="DataBindings" SeparateXMLFiles="false"
                 Package="view" ClientType="Generic"
                 ErrorHandlerClass="view.CustomErrorHandler"
    
    what else am i missing what have i not done,i know am mssing something but don't know what,the sample does not show step by step implementation,it just have a working solution,if somebody know step by step  implementation can you pls explain to me
    Published by: adf009 on 12/03/2013 12:09

    Published by: adf009 on 03/20/2013 14:44

    Hello

    Well, you've learned that samples should be provided on the HR diagram. Also try to put the steps to see the mentioned number.

    Anyway, here's the anwer-

    You missed a step. See link [Fusion Developer Guide | http://docs.oracle.com/cd/E14571_01/web.1111/b31974/bcadvgen.htm]... Go figure - 'Figure 37-9 project properties displays Message Resource Bundles' - this is the step failed. So just add your package customized to the ADF BC project.

    This should solve you problem... Let me know if you need examples updated the.

    Thank you
    Rajdeep

  • Received a phone call from someone who said he could help me because his company had received the error messages from my computer - XINFINITY?

    So I recently received calls from this guy who claims to be with Microsoft Error Reporting service, but I thought something was fishy when he couldn't tell me anything specific on my computer, which he would be able to know right away. Also, he couldn't speak a lick of English, which makes it really difficult to understand what he wanted originally.
    He told me that he and his 'business' received my computer error messages, and that we should "follow the simple steps to get rid of these problems.
    He told me to go to the computer management console and find the 'filter' in the display options, but being an avid user of XP, I know there is no such thing.
    He then told me that it is an effect of a virus that "we need to follow the steps to get rid of. He directed me to the console to Run and had me type in this web address:
    'www.XINFINITY.WEBS.com '.
    So now, things get sketchy. A free host for a supposedly serious company? I do NOT.
    (Why he wanted me to use RUN to access a Web site, I have no idea, only adds to the superficiality...)
    I went on the site, which lo & behold, very professional. There are four links to download files .exe with weird as names:
    -' Ammyy v3"(AA_v3.exe)
    -' Ammyy v2"(AA_v2.exe)
    -"Croosloop" (CroosLoopSetup.exe)
    - and 'ShowMyPc"(ShowMyPC3105.exe)

    He said click on the first and hit. He said SAVE or CANCEL. Now, I'm not naïve or stupid or gullible, and I am computer illiterate.
    I smell something fishy here. Technical support does not call you about errors, you call them.
    Research in the comments left on their FREE site, I have seen that all FOUR were short and had similar spelling/grammar mistakes. Typical supported false reputation.
    I did a google search, barely found anything on this "business" and the guy hung up.
    This is the site that this guy directed me to: http://xinfinitytech.webs.com/quick-help/
    IM asking for any information about whether if it's a scam, an attempted theft of identity/data theft, an attempt to spread of the most recent virus, or some guy who tries to help. My gut tells me that it is one of the top three.
    ANY INFORMATION WOULD BE GREATLY APPRECIATED!

    So I recently received calls from this guy who claims to be with Microsoft Error Reporting service, but I thought something was fishy when he couldn't tell me anything specific on my computer, which he would be able to know right away. Also, he couldn't speak a lick of English, which makes it really difficult to understand what he wanted originally.
    He told me that he and his 'business' received my computer error messages, and that we should "follow the simple steps to get rid of these problems.
    He told me to go to the computer management console and find the 'filter' in the display options, but being an avid user of XP, I know there is no such thing.
    He then told me that it is an effect of a virus that "we need to follow the steps to get rid of. He directed me to the console to Run and had me type in this web address:
    'www.XINFINITY.WEBS.com '.
    So now, things get sketchy. A free host for a supposedly serious company? I do NOT.
    (Why he wanted me to use RUN to access a Web site, I have no idea, only adds to the superficiality...)
    I went on the site, which lo & behold, very professional. There are four links to download files .exe with weird as names:
    -' Ammyy v3"(AA_v3.exe)
    -' Ammyy v2"(AA_v2.exe)
    -"Croosloop" (CroosLoopSetup.exe)
    - and 'ShowMyPc"(ShowMyPC3105.exe)

    He said click on the first and hit. He said SAVE or CANCEL. Now, I'm not naïve or stupid or gullible, and I am computer illiterate.
    I smell something fishy here. Technical support does not call you about errors, you call them.


    Research in the comments left on their FREE site, I have seen that all FOUR were short and had similar spelling/grammar mistakes. Typical supported false reputation.
    I did a google search, barely found anything on this "business" and the guy hung up.
    This is the site that this guy directed me to: http://xinfinitytech.webs.com/quick-help/
    IM asking for any information about whether if it's a scam, an attempted theft of identity/data theft, an attempt to spread of the most recent virus, or some guy who tries to help. My gut tells me that it is one of the top three.
    ANY INFORMATION WOULD BE GREATLY APPRECIATED!

    You search here and in the rest of the Internet first?  I suggest that - because this type of scam is not only well known but well published.

    http://www.Microsoft.com/security/online-privacy/avoid-phone-scams.aspx

  • error message from the invention of user required on printer hp2510

    For the last few days whenever I try to print to the printer from hp2510 I always an error of the necessary user input, how can I get get this error for good. I am currently using Windows 7.i some scanned documents

    a few days before this error occurred, this could be the reason? Thank you.

    Gwendoline

    Hi @kinggc,

    Thank you for visiting the Forums HP's Support and welcome. I looked into your problem with your HP Deskjet 2510 printer and get an error message on your Windows 7 computer. Here is a link to the HP print and Scan doctor. Printing HP and doctor Scan will run a check of your system and your printer.

    Plug the power supply directly to a wall outlet works. Do not connect it a power strip, surge arrester, or secondary power source because they can be a problem.

    Can make you a copy of something ok on the printer?

    Please let me know if you do this wired or wireless.

    I hope this helps.

    Thank you.

  • Error message from DPM 2010 and an unexpected error has occurred on the DPM server during a VSS operation.

    Hello

    I have a server running on a Windows 2008 R2 server DPM 2010

    Currently save a mix of virtual and physical machines, these are a mix of Windows Server 2003 SP2, 2008 & 2008 R2.

    The DPM was previously a bit crumbly, but it was supposed to be caused by lack of disk space. A QNAP server was introduced and configured as an iSCSI target. After the initial problems, it works now.

    EXCEPT

    Three volumes of backup not. They were part of the protection group but they had no point of recovery at all. I deleted their protection groups and have tried to add them to their original groups. These 3 volumes all fail with the following error message:

    An unexpected error occurred on the DPM server machine during a VSS operation.

    Error details: VssError:Shadow copy the specified volume only is not supported. (0x8004230C)

    3 volumes are on 3 different servers.

    All 3 servers are running Windows 2003 SP2

    3 servers have other volumes that are save successfully and consistantly

    There are an additional 3 servers Windows 2003 SP2 that all volumes save successfully and consistantly.

    I can run shadow copies on these three volumes on servers

    All servers run the latest DPM Agents

    3 volumes have unused production capacities, Gig instead of Mb

    The pool of storage on the DPM server has two disks in the storage pool, the local disk has 10 TB of capacity and 45% free, the iSCSI target has capacity to 55 and 78% free.

    There are no. VSS errors in system or application logs (or I've noticed in just about any other log file) on the DPM server or the customer Server

    I have tried to add in the protection group, 3 volumes at once, one at a time or a small directory, or create a new protection group and still get the same errors.

    I ran the Windows updates on these servers

    So far all I can say the disk permissions look OK and match those of the other volumes of work.

    I know that having two drives in the storage pool is not ideal, and it will be changed but not up to what I have fixed the problems on the three volumes.

    Hello

    I suggest you to report this issue in support for Windows Server 2008 R2: http://technet.microsoft.com/en-us/windowsserver/bb512923

    Thank you.

  • Pavilion tx1410us - error messages from the BIOS disk Test

    My first post here so greetings and a happy new year to all.

    I have a Pavilion tx1410us who seems to have a hard drive problem. I have Vista (Partition 2 - 60 2 GB as/dev/sda2) and Ubuntu 10.10 64-bit (1-1 St 20 GB as/dev/sda1 Partition) on the first partition and am getting ATA DMA error messages 2 and on the console when running Ubuntu.

    When I had Vista on the first part of the disc I was getting a lot of errors on Vista.

    I ran check disk for bad blocks, but several seem to be coming.

    Last night I ran the test of the drive from the BIOS twice and twice got them the same "Test #2-07 failure" error message. The text is perhaps not quite correct, but the "#2-07" is certainly.

    Does anyone have a reference to what the BIOS messages mean?

    With the errors appear to come from the same part of the disk that would lead me to believe that it's the hard drive itself which is a failure, but I want to be sure that it is not the disk controller until I get a new hard drive.

    It was close in the past, but we are now very careful to use only on a surface hard and keep the vents unblocked so I think I can have escaped heating problems that seem to dog these machines.

    If someone is under Linux, you can install the monitor CPU cmdlets and the temperature of the system that can sit on your desktop and show you the temperatures constantly. Very useful. Interesting to see the speed at which the processor gets hot when editing or video processing.

    Thanks in advance for any help.

    Andy

    Hi Andy,.

    The error message definetely is hard even though I'm not sure what #2 refers to other it can tell the difference between the short and complete test.  This, and the fact that more unusable blocks are appearing constantly in all point to the failure of the HARD drive.

    Best wishes

    DP - K

  • I received a call from a woman said that she was with the ICC with Windows service provider and that they were getting the error messages from my computer

    * Original title: scam or not

    I received a call from a woman saying that she was with the ICC with Windows service provider and they received my computer error messages and I wouldn't be able to help me solve it.  I asked for a number of 800-373-4609 because he came unknown on my phone.

    I wanted to open my computer.  I told her I would call her back.

    Is it a scam?

    (Moved from P & M)

    Yes, it's a scam. When someone calls and says they need to talk to you about 'mistakes' in your computer, simply hang up.  I just had one of these calls myself about 15 minutes ago.

  • Sometimes web error message from the client / popup that lies behind the HTML view

    Hello

    At times the web client error / popup hiding behind making the full background grey out and highlighting HTML display the HTML view. At this stage the actions behind the HTML code / above the screen HTML is not clickable, which forces the user to refresh the entire page (in case of a popup). Please find attached the screenshots. I tried to find if it is a known problem, but found no references linked to this document from VMware. Can someone please tell me, if there is no work around for this problem.

    Details of the environment:

    • Browser: Google Chrome (latest version)
    • OS: Windows 2007 and 2 k 8
    • vCenter: 6.0


    Steps to reproduce:

    • Open an extension point that contains the HTML content.
    • Leave it for awhile until the point the web client session, timeout occurs (or) to disable the WebClient service / vcenter server service (Note: this one is not always reproducible.)
    • Try to perform some action less content, it will display the html error message / see the popup behind the html code.


    The problem of popups being hidden behind an HTML view is fixed in version 6.0.1 which was released on 10 September.

    Same question as indicated previously here: problem with IFrame based HTML hosting inside Flex views

  • Satellite Pro U200 - error messages from storage during the shut down

    I use Office XP, Office 2003, Adobe Acrobat 7.0, internet explore, copernic search machine and some other programs. The Task Manager said after a complete reinstall (recovery CD Toshiba) with about 60 process.

    Now, I got to 71. I've updated the LAN driver, use a norton security system, all inclusive Windows XP update
    and however - only 2 days after complete reinstallation I am facing once again error messages, which indicates that a process could not put storage.

    Hotline or an engineer on the Toshiba site could help me on the issues. Hardware (RAM, hard disk) will have been controlled and that okay.. In addition to the error messages when stop I also got the phenomeonon this laptop is not stopped completely and was for hours (blue screen indicating that the computer stops) until I turned off with the key for 5 seconds.

    What could be? I had a few other laptops before and I ran identical programming on them - and I have never had these error messages.
    I checked the task Mgr before stopping and no process was running - however this error messages that a program cannot be put in storage rises.

    Hello

    For me it of clear. You have installed so many applications, and some of the background process may be completed when the laptop stops.

    For me its amazing how many applications are running in the background.
    You write something about 71! I also installed many applications, but on my background portable 40 processes are currently running and for me it a very high value.

    I think that you should check you msconfig (type msconfig in the run window) option and check the background processes that are not important. Turn off also automatically load it at initialization of the laptop.

    Unfortunately, but there is no other solution.

  • error message from the object page Web keeps popping up, especially in hotmail. What should I do?

    Help me please

    Hi Dale,

    Thanks for posting your query in Microsoft Community.

    I understand that you are getting the error message while browsing Web sites in Windows XP.

    I will certainly help you in this matter.

    1. which web browser you are using?

    2. What is the exact error message you are getting?

    3. were there any changes made to the computer before the show?

    If you use Internet Explorer, please follow the methods.

    Method 1:

    Use the Internet Explorer (No Add-ons) mode

    To do this, click Start, point to programs, point to Accessories, point to System Toolsand then click Internet Explorer (No Add-ons).

    If this resolves the problem, follow these steps to isolate the browser add-on that is causing the problem:

    1. click on Tools, then Internet Options.

    2. click the tab programs , and then click Manage Add-ons.

    3. click an add-on in the list name and then click disable.

    4. Repeat step 3 until you identify the add-on that is causing the problem.

    Method 2:

    Reset the Internet Explorer settings and check if it works very well.

    See the link.

    How to reset Internet Explorer settings

    http://support.Microsoft.com/kb/923737

    Note: "Please note that the reset Internet Explorer (IE) resets all of the settings defined by the user, including those established by the installed extensions, toolbars and other add-ons for IE by default. This includes all the security, privacy and settings area. Also this will erase browsing history, delete all temporary Internet, cookies, form data files and especially all the passwords. »

    For any help about Windows, you can still post on the Microsoft Community Forum.

  • When Remove My Documents & send to the trash and get the error message from file (s) name (s) too long

    the situation: I erase all the contents of Documents and sending them to the Recycle Bin.  This is in preparation for a new backup of Documents to an external hard drive device.
    What continues to be: whenever I press DELETE I get the following error message, "file contains elements whose names are too long for the Recycle Bin." -I combed through all the names in the Documents & shortened all the time, but I always get this error message.
    questions: How can I identify & locate offend him, too long file name of the file or files?  What is the space limit for the length of the file/folder names + character?  is it possible to change the settings to correct this extremely frustrating loop somehow, I'm in?
    I would greatly appreciate any help/tips on the issue.  Thank you!

    Hello

    you keep insisting on 'my

    There is no "My Documents" on Vista

    It's only 'Documents '.

    Windows Vista renames 'My Documents' as, simply, 'Documents '. "My music", "My pictures" and "My videos" have also lost their prefix and moved to directly under the directory (profile).

  • HP Pavilion P6 - 2100 on the error message from Windows 7

    I tried all the things recommended on Microsoft and on the internet. Nothing works to get rid of this error message. Others have had the same problem and finally, I think we all give up trying to find a real answer.  Please help us fix.

    The error message is:

    error unknown message turn off '-auto'

    Hello again ucimdboss2,

    Thank you for your quick response. Nice that you said that I recommend that you perform a factory restore. The HP Support document: backup of files (Windows 7) should be your first step. This document will provide you with instructions, you should back up your user files so that you don't lose it when you make the resumption of the plant. Then, you want to follow the HP Support document: performing a recovery of HP (Windows 7) system, which will guide you through the process of restoring factory HP. Once complete, you can restore your backup of the files and be back on without software errors.

    These steps will be clear all errors in your operating system and return your system to operate as it did when you bought everything first.

    I think that this will solve your error. Thank you for bringing This problem on the HP Forums. Have a great day!

Maybe you are looking for