Displaying a trigger error in forms

In a before inserting table trigger, if inserted values are not correct, I raise an error :
RAISE_APPLICATION_ERROR(-20001,'Error message !');
What I want is to display this error message in forms instead of the error 40508 - ORACLE error: unable to INSERT record.
How can I ?

look at Dbms_Error_Code and Dbms_Error_Text.
You'll have to parse them, but you can grab the error messages off them.
Here's a similar question I asked on Metalink... I never received an error there, but the solution was to write an on-error trigger for the block and capture the form errors related to inserts, updates, and deletes. Here's the question though:
Oracle Forms/Web Forms Technical Forum
From: ERIC GIVLER 18-Nov-00 15:16
Subject: "Clean" capture of DBMS Error messages on raise_application_error
"Clean" capture of DBMS Error messages on raise_application_error
This is with Forms 4.5 Developer 1.3.2 (32bit)
Has anyone written forms level triggers, I guess ON-ERROR triggers to properly capture the error messages raised from a database trigger or procedure that uses a RAISE_APPLICATION_ERROR?
I'd like to display the SAME message that I'm passing to RAISE application error, the message only, without all the other garbage.
I was thinking of capturing the dbms_error_code and dbms_error_text, and then based on the form error code - kind of like in the example code in the Forms Help. Then, I'd parse these strings and strip off my error message, because the dbms_error_text contains the entire "error stack", ie:
ORA-20100: SEASON DATES ERROR! Reservations exist in this date range
ORA-06512: at "SUNTRACK.SEASON_DATES_BR_D", line 19
ORA-04088: error during execution of trigger 'SUNTRACK.SEASON_DATES_BR_D'
So... I'd like to just get "SEASON DATES ERROR! Reservations exist in this date range" message
Questions:
1. Is there an easy way to do this that I'm missing, or do I have to brute force, look for 'ORA'| |dbms_error_code| |': ' in my dbms_error_text, strip that off the front, and then grab the error text up to the first LINEFEED, chr(10), found in the dbms_error_text - that just seems a little "kludgy"
2. Anyone have a nice solution? IT seems like there should be a "standard" on-error trigger that handles this type of situation.
3. What would be all the form errors that I should look for that could have been the result of an error raised in a trigger???
ie. frm-40509 (unable to update), frm-40510 (unable to delete
null

Similar Messages

  • Displaying Report Server error in forms

    All,
    Is there a way in forms to display the error message from the reports server instead of the generic non informative message "FRM-41214 Unable to Run Report."
    thanks
    Jim

    Hello,
    test the following code :
    v_rep := RUN_REPORT_OBJECT(repid);
    IF Form_Failure THEN
    rro_error_code := ERROR_CODE;
    END IF;
    idx := INSTR(v_rep , '_' , -1) ;
    if (idx > 0 ) then
         v_repjobid := substr(v_rep , idx + 1);
         v_repserver := substr(v_rep , 1 , idx-1);
    end if;
    if rro_error_code = 41214 then
         web.show_document ('/reports/rwservlet/showjobid'||v_repjobid||'?server='||v_repserver||'&statusformat=xml','_blank');
    end if;
    Regards

  • How to show a database trigger error message as a notification on a page

    I have a database with database triggers to ensure data integrity.
    If an insert or update does not comply to all the business rules, a database triggers raises an exception. When using Apex this exception is caught in the Error Screen, a separate screen, where the whole error stack is displayed.
    Does anyone know a way to display only the error in RAISE_APPLICATION_ERROR as a notification in the screen from which the transaction was initiated?
    Dik Dral

    Well, having had so little response, i had to figure it out myself ;-)
    Using Patrick Wolff's ideas from ApexLib I 'invented' a solution for my problem, that I would like to contribute to the community. I hope that it will come out a bit nicely formatted:
    Apex: Show Database Error Message in calling form
    The purpose is to show a neat error message in the notification area of the calling form.
    Default Apex show the whole error stack raised by a DB trigger in a separate error page.
    With acknowledgement to Patrick Wolf, I lent parts of his ApexLIB code to create this solution.
    <br./>
    Assumptions
    <ul><li>The error message is raised from a DB trigger using RAISE_APPLICATION_ERROR(-20000,’errormessagetext’).</li>
    <li>The relevant part of the error stack is contained within the strings ‘ORA-20000’ and the next ‘ORA-‘-string, i.e. if the error stack is ‘ORA-20000 Value should not be null ORA-6502 …’, than the relevant string is ‘Value should not be null’ .</li>
    <li>Cookies are enabled on the browser of the user </li>
    </ul>
    Explanation
    The solution relies heavily on the use of Javascript. On the template of the error page Javascript is added to identify the error stack and to extract the relevant error message. This message is written to a cookie, and then the control is passed back to the calling page (equal to pushing the Back button).
    In the calling page a Javascript onLoad process is added. This process determines whether an error message has been written to a cookie. If so the error message is formatted as an error and written to the notification area.
    Implementation
    The solution redefines two template pages, the two level tab (default page template) and the one level tab (error page template).
    Javascript is added to implement the solution. This Javascript is contained in a small library errorHandling.js:
    <pre>
    var vIndicator = "ApexErrorStack=";
    function writeMessage(vMessage)
    {       document.cookie = vIndicator+vMessage+';';
    function readMessage()
    { var vCookieList = document.cookie;
    var vErrorStack = null;
    var vStart = null;
    var vEnd = null;
    var vPos = null;
    vPos = vCookieList.indexOf(vIndicator);
    // No cookie found?
    if (vPos == -1) return("empty");
    vStart = vPos + vIndicator.length;
    vEnd = vCookieList.indexOf(";", vStart);
    if (vEnd == -1) vEnd = vCookieList.length;
    vErrorStack = vCookieList.substring(vStart, vEnd);
    vErrorStack = decodeURIComponent(vErrorStack);
    // remove the cookie
    document.cookie = vIndicator+"; max-age=0";
    return(vErrorStack);
    function getElementsByClass2(searchClass,node,tag)
    var classElements = new Array();
    if ( node == null )
    node = document;
    if ( tag == null )
    tag = '*';
    var els = node.getElementsByTagName(tag);
    var elsLen = els.length;
    var pattern = newRegExp('(^|\\s)'+searchClass+'(\\s|$)');
    for (i = 0, j = 0; i < elsLen; i++) {
    if ( pattern.test(els.className) ) {
    classElements[j] = els[i];
    j++;
    return classElements;
    function processErrorText()
    var errorElements = new Array();
    errorElements = getElementsByClass2("ErrorPageMessage",document,"div");
    if (errorElements.length > 0 )
    { errorText = errorElements[0].innerHTML;
    errorText = errorText.substr(errorText.indexOf("ORA-20000")+ 11);
    errorText = errorText.substr(0,errorText.indexOf("ORA")-1);
    // errorElements[0].innerHTML = errorText;
    writeMessage(errorText);
    function show_message()
    { var vCookieList = document.cookie;
    var vErrorStack = null;
    var vErrorName = null;
    var vErrorMessage = null;
    var vStart = null;
    var vEnd = null;
    var vPos = null;
    // get errorStack
    vErrorStack = readMessage();
    if (vErrorStack == -1) return;
    // search for our message section (eg. t7Messages)
    var notificationArea = document.getElementById("notification");
    if (notificationArea != null)
    { notificationArea.innerHTML = '<div class="t12notification">1 error has occurred<ul class="htmldbUlErr"><li>' + vErrorStack + '</li></ul>'; }
    else
    { alert(vErrorStack); }
    </pre>
    This code is loaded as a static file in Application Express (no application associated).
    In both templates a reference to this code is added in the Definition Header section:
    <pre>
    <script src="#WORKSPACE_IMAGES#errorHandling.js" type="text/javascript"></script>
    </pre>
    This library is called from the two level tab to show the error message (if any) in het onLoad event of the body tag.
    <body onLoad="javascript:show_message();">#FORM_OPEN#
    This code checks whether a message has been written to a cookie and if found displays the message in the notification area.
    In the error template page the Error section has the content:
    <script language="javascript">
    processErrorText();
    window.history.go(-1);
    </script>
    Back
    The call to processErrorText() looks for the error message, extracts the relevant part of it (between ‘ORA-20000’ and the next ‘ORA-‘), writes it to a cookie and returns to the previous screen.
    The link to the previous page is added should an error in the Javascript occur. It provides the user with a path back to the application.
    With these actions taken, the error messages issued from triggers are shown in the notification area of the form the user has entered his data in.
    The need for database driven messaging
    In some cases the need exists to process error messages in the database before presenting them to the user. This is the case, when the triggers return message codes, associated to error messages in a message table.
    This can be done by using a special Error Message Processing page in Apex.
    The error message page extracts the error message, redirecting to the Error Message Processing page with the error message as a parameter. In the EMP page a PL/SQL function can be called with the message as a parameter. This function returns the right message, which is written to a cookie using dynamically generated Javascript from PL/SQL. Than the contol is given back to the calling form.
    The redirect is implemented by location.replace, so that the error message page does not exist within the browsing history. The normal history(-1) will return to the calling page.
    Implementation of database driven messaging
    The solution redefines two template pages, the two level tab (default page template) and the one level tab (error page template).
    Javascript is added to implement the solution. This Javascript is contained in a small library errorHandling.js already listed in a previous paragraph.
    In both templates a reference to this code is added in the Definition Header section:
    <script src="#WORKSPACE_IMAGES#errorHandling.js" type="text/javascript"></script>
    This library is called from the two level tab to show the error message (if any) in het onLoad event of the body tag.
    <body onLoad="javascript:show_message();">#FORM_OPEN#
    This code checks whether a message has been written to a cookie and if found displays the message in the notification area.
    In the error template page the Error section has the content:
    <script language="Javascript">
    var errorText = null;
    function redirect2oracle()
    { window.location.replace("f?p=&APP_ID:500:&APP_SESSION.::::P500_MESSAGE:"+errorText); }
    function getError()
    { errorText = processErrorText(); }
    getError();
    redirect2oracle();
    </script>
    Go to Error Message Porcessing Page
    Back to form
    The call to processErrorText() looks for the error message, extracts the relevant part of it (between ‘ORA-20000’ and the next ‘ORA-‘), writes it to a cookie.
    Then the EPM-page (500) is called with the extracted message as parameter.
    The link to the EPM page and the previous page is added should an error in the Javascript occur. It provides the user with a path back to the application.
    We need to create an Error Message Porcessing Page.
    Create a new page 500 with a empty HTML-region “Parameters”
    Create an text-area P500_MESSAGE in this region
    Create a PL/SQL region “Process Messages” with source:
    convert_message(:P500_MESSAGE);
    Create a PL/SQL procedure convert_message like this example, that reads messages from a message table. If not found, the actual input message is returned.
    CREATE OR REPLACE procedure convert_message(i_message in varchar2) is
    v_id number := null;
    v_message varchar2(4000) := null;
    function get_message (i_message in varchar2) return varchar2 is
    v_return varchar2(4000) := null;
    begin
    select msg_text into v_return
    from messages
    where msg_code = upper(i_message);
    return(v_return);
    exception
    when no_data_found then
    return(i_message);
    end;
    begin
    v_message := get_message(i_message);
    // write the message for logging/debugging
    htp.p('Boodschap='||v_message);
    // write cookie and redirect to calling page
    htp.p('<script language="Javascript">');
    htp.p('document.cookie="ApexErrorStack='||v_message||';";');
    htp.p('window.history.go(-1);');
    htp.p('</script>');
    // enter return link just in case
    htp.p('Ga terug');
    end;
    Note: The way the message is converted is just an example
    With these actions taken, the error messages issued from triggers are shown in the notification area of the form the user has entered his data in.
    Message was edited by:
    dickdral
    null

  • Error Getting while opening an adobe attachment "Output cannot be displayed because an error occured "

    Hello Experts,
    In our project where CRM Web ui is UI technology used, i am displaying list of attachments in one block.
    WHen i am clicking on these adobe form outputs which are in the form of links, i am getting an error "Output cannot be displayed because an error occured".
    Can anyone please tell me what is missing which is leading to this error ?
    Thanks and Best Regards,
    Nikhil Kulkarni

    Generally this kind of error messages occur when there is a gap b/w the PDF rendering and the layout ..
    The only way to find out the error is debugging, where you have caught the exception from the driver program.
    Naveen

  • Internal error in FORM/FUNCTION CKMLKEPH_ROLLUP in position 2 with RC 4

    The order settlement terminates with the error Message no. MLCCS 099 "Internal error in FORM/FUNCTION CKMLKEPH_ROLLUP in position 2 with RC 4".
    The material ledger is active. The actual cost component split is active. I want to  carry out the order settlement for one plants.
    With the same production material no.in the plant. There are many other productin order are settled in thid period. But, only one production order got the error message, why?
    I knew that I could change the Price determ. (in material master) from 3 Single-/multi-level to 2          Activity-related, then I can continute settlement transaction in CO88. But , I want to know what's wrong this the order. What should I check about the order. Why other orders are settled without error with the same material no, and  plant.
    I had check about SAP note 711416 & 729901 & 523100 & 623701 & 653523, those can't slove my problem in CO88.

    Thanks for your answer.
    But, I have two production orders product the same material in the same plant and  will be settled in this period. Both of those two orders were consumed material in 3 months ago. But, only one of them were terminated with error message in CO88. Why? How can I find out the difference between those two orders? They seems the same.
    For SAP note 623701 & 871926 & 867755, I think we already implemented those. I had found program "MLCCS_KO88_TREATMENT " in SE38. And, I can find the message 013 & 015 in message class MLCCS. So, do you have other commendations?
    Do you know how could I check about "Display order history" that mentioned in note 86775. Which T-code should I go to?
    Thanks a lot.

  • Triger for display next record in oracle forms

    hai all,
    i want to do
    when new form opened i have to add new reord that is empty new form also my new rownum will be displayed.
    now i getting first record.
    like:
    GROUP_ROWNUM:     1
    GROUP_ID:      120130
    GROUP_NAME aaaaaaaaa
    need like:
    GROUP_ROWNUM:     7
    GROUP_ID:
    GROUP_NAME
    that can be done by
    trigger for display next record in oracle forms?
    or through property seting?
    thanks in adv,
    rcs
    --------

    YES, this block is base on the DB table
    through defualt navigational button i can go to next,last,new record
    but i want create seperate form for new entry, in that i want to display
    old rownum
    formula to get rownum automatically (i am not at all typing it is system generated)
    even though i created column group_rownum for rownum
    (i can't be typing)
    LAST_RECORD;
    NEXT_RECORD; also not getting the next rownum
    i hope now understand me
    any posible way?
    thank you for your good input
    i.e.
    SQL> DESC GROUP_MSTR1;
    Name Null? Type
    GROUP_ID NOT NULL NUMBER(10)
    GROUP_NAME NOT NULL VARCHAR2(30)
    SQL> select * from GROUP_MSTR1;
    GROUP_ID GROUP_NAME
    123 AAAAAA
    124 BBBBBBBB
    125 CCCCCCCCC
    126 DDDDDDDD
    1 eeeeeeee
    2 FFFFFFFFF
    3 ggggggg
    7 rows selected.
    SQL> select rownum, GROUP_ID, GROUP_NAME from GROUP_MSTR1;
    ROWNUM GROUP_ID GROUP_NAME
    1 123 AAAAAA
    2 124 BBBBBBBB
    3 125 CCCCCCCCC
    4 126 DDDDDDDD
    5 1 eeeeeeee
    6 2 FFFFFFFFF
    7 3 ggggggg
    7 rows selected.
    -------------

  • Show Reports Error in Forms

    Hi,
    is it possible to show the Reports error in Forms. Like
    IF rep_status = 'FINISHED' THEN
    WEB.SHOW_DOCUMENT('http://localhost:8889/reports/rwservlet/getjobid'
    || SUBSTR(v_rep,INSTR(v_rep,'_',-1)+1)||'?'||'server=rep_server','_blank');
    ELSE
    ===> SHOW ME THE PROBLEM
    END IF;
    Regards, Peter

    Hi,
    You can display the Reports errors indirectly - through the database....
    You can create a table in which the reports errors are inserted as well as the date , time , user. Next , the form module can read this row using the max(date) and max(time) and the username .
    Simon

  • Displaying a matrix on a Forms 6 form

    Guys:
    I'm trying to figure out a way to display
    a matrix on a form with three fields
    2 text items and 1 check box eg.
    Dept
    ====
    Emp Finance Projects Transport ...
    ===
    John X
    Tom X
    Sam X
    Pete X X
    Any ideas???
    Thanks!
    Abhay

    Hi
    I had similar problem. May be my dicision will be helpfull for you.
    There are table (for simplicity) sheet(emp, day, job) with the primary key(emp, day). It's needed matrix with X axis as 'emp', Y axis as 'day' (for a one month) and 'job' as the cell.
    I created block SHEET_BLOCK with the items: EMP, DAY_01, DAY_02, ..., DAY_31. 'Query Data Souce Name' is:
    SELECT emp FROM sheet;
    EMP is the 'Database Item', but another (DAY_??) aren't 'Database Item'.
    Cteated POST_QUERY trigger for populating fields DAY_??:
    DECLARE
    v_dest_item VARCHAR2(80);
    v_rec_num NUMBER;
    CURSOR c_emp_day_job IS
    SELECT day, job
    FROM sheet
    WHERE emp = :SHEET_BLOCK.EMP
    BEGIN
    IF :System.Mode != 'QUERY' THEN
    RETURN;
    END IF;
    FOR v_emp_day_job IN c_emp_day_job LOOP
    v_dest_item := ':SHEET_BLOCK.DAY_' &#0124; &#0124; v_emp_day_job.day;
    COPY( v_emp_day_job.job, v_dest_item );
    END LOOP;
    END;
    Andrew.

  • Error tabular form with validation

    Hi everyone,
    I have built a tabular form with the wizard and I every time a validation check is done and fails,
    getting an error in the place where the tabular form should be. I get to see the tabular form again when pressing the cancel button or refreshing the page.
    I'm not quite able to reproduce this error, but I was wondering if anyone knows of this error and a workaround for it.
    The error that's displayed is: report error: User-Defined exception
    using Apex version 4.1.1. I've already tried building a new tabular form, but that didn't seem to resolve the issue.
    I would appreciate the help.
    Kind regards,
    Cleopatra

    Possible solution?
    Validation returns : no data found + unhandled user-defined exception
    See post by user 794496 there.

  • Displaying SQL Exception errors in plain english

    Hi,
    How can I display SQL Exception errors in plain english. For example how would I display:
    java.sql.SQLException: ORA00001:unique consraint(EMP.NAME) violated
    to
    Name already exists!
    Regards.

    When you log into SharePoint you give it a username and password, this might be automatic so you never notice it but it still happens in the background. The UPS then takes that username and creates a UPS entry for that account using information stored in
    Active Directory.
    If you're not familiar with AD it's normally a generally accessible 'phone book' like collection of user data like username, first name, surname, email address, manager, department and what security groups they belong to.
    If you configure the sync service this information is pulled through earlier in bulk rather than on-demand as users log in. You also get a lot more control over what data is used where and how.
    It's slightly different if you're using Forms Based Authentication but that's another story.

  • Abort Syatem Error :RSDRC/FORM DATA_GET_ODS  error in RSDRO_READ_ODS_DATA

    Hi ,
    when I execute the report/query from ODS i'm geting the follwing error and it is disconnecting from BW server.
    " SQL Error 4030.
    Abort Syatem Error :RSDRC/FORM DATA_GET_ODS  error in RSDRO_READ_ODS_DATA .
    ABORT system Error :in Program SAPLRSDRC and FORM DATA_GET_ODS "
    I have checked the ODS seting and it was enabled and active.
    please any body is having solution
    Thanks
    Ram

    I do not have problem loading data into my ODS.
    My scenario is as follows:
    1. The source field is OPTIME of type P and stores date and time
    2.  I created a Keyfigure ZOPDATE as date field of type DEC.
    3.  The aim is to take YYYYMMDD from OPTIME into the ZOPDATE InfoObject (KFG).
    4.  I Created a conversion routine to pick YYYYMMDD from OPTIME and assign it to ZOPDATE.
    5.  It worked fine and stored the data in ODS as DD.MM.YYYY.
    6.  I have a similar IO ZPUBLISH but getting its data from a date field POSTING_DATE
    7.  The problem is that ZOPDATE cannot be displayed as date in my query wheras ZPUBLISH can.
    8.  If I insert ZOPDATE in the query I get the error, and if I remove the query runs fine.
    If I store the date field as Characterestics I may not be able to use as colunm in the report, that is why I wanted to have it as KFG.
    Please someone should help out.
    Edited by: SALE MUHAMMAD ABDULLAHI on Jun 4, 2008 6:50 AM

  • System error: RSDRC / FORM AUTHORITY_CHECK USER NOT AUTHORIZED 0SAL_DS01 0S

    Hello
    I have a big problem, I a have active the ODS 0SAL_DS01 with the update rule 0CRM_SALES_ACT_1.
    I have upload the data without problem.
    When I want to see the data I have this message :
    Your user master record is not sufficiently maintained for object Sales Org
    System error: RSDRC / FORM AUTHORITY_CHECK USER NOT AUTHORIZED 0SAL_DS01 0SAL_DS01
    Can someone help me please?
    Regards.
    Farchid

    Hi Farchid,
    You need auth for the SalesOrg Auth object that is securing this ODS. In RSSM, you can enter 0SAL_DS01 in the check for InfoProvider box and then click display. You should see a check mark against this auth object for SalesOrg. Makre sure that you have the related role assigned to your ID.
    Hope this helps...

  • PRE-DELETE TRIGGER ERROR

    I am debugging a program written by Developer/2000 forms 4.5
    I use 3 to 4 base tables and they all have parent/child relatioship.
    When i try to delete one of them , the error is : pre-delete trigger error.
    any idea ?

    Hi, Lesley
    Beware:
    your form_success test is not working.
    The form_success, form_failure and form_fatal functions should only be used to test the outcome of Forms Built-ins.
    If you want to test the result of DELETE statements, try:
    DELETE FROM TABLE
    WHERE CONDITION;
    IF SQL%FOUND THEN
    MESSAGE('Some rows were deleted');
    ELSE
    MESSAGE('No rows were deleted');
    END IF;You can also use SQL%ROWCOUNT to know how many rows were deleted.
    Hope this helps,

  • How can I display XSLT transformer errors on a web page ?

    Hi,
    I have some JSP pages that access DB, create an XML based on DB data and then transform it into HTML through an XSLT stylesheet. Developing the XSL code it's easy to make mistakes and generate errors on trasformation, but what I receive on the web page is only a "Could not compile stylesheet" TransformerConfigurationException, while the real cause of the error is displayed only on tomcat logs. This is the code for transformation:
    static public void applyXSLT(Document docXML, InputStream isXSL, PrintWriter pw) throws TransformerException, Exception {
            // instantiate the TransformerFactory.
            TransformerFactory tFactory = TransformerFactory.newInstance();
            // creates an error listener
            XslErrorListener xel = new XslErrorListener();
            // sets the error listener for the factory
            tFactory.setErrorListener(xel);
            // generate the transformer
            Transformer transformer = tFactory.newTransformer(new SAXSource(new InputSource(isXSL)));
            // transforms the XML Source and sends the output to the HTTP response
            transformer.transform(new DOMSource(docXML), new StreamResult(pw));
    }If an exception is thrown during the execution of this code, its error message is displayed on the web page.
    This is the listener class:
    public class XslErrorListener implements ErrorListener {
        public XslErrorListener() {
        public void warning(TransformerException ex) {
            // logs on error log
            System.err.println("\n\nWarning on XEL: " + ex.getMessage());
        public void error(TransformerException ex) throws TransformerException {
            // logs on error log
            System.err.println("\n\nError on XEL: " + ex.getMessage());
            // and throws it
            throw ex;
        public void fatalError(TransformerException ex) throws TransformerException {
            // logs on error log
            System.err.println("\n\nFatal Error on XEL: " + ex.getMessage());
            // and throws it
            throw ex;
    }When I have an error in the XSL stylesheet (for examples a missing closing tag), I can find on tomcat logs the real cause of the error:
    [Fatal Error] :59:10: The element type "table" must be terminated by the matching end-tag "</table>".
    Error on XEL: The element type "table" must be terminated by the matching end-tag "</table>".but on my web page is reported just the TransformerConfigurationException message that is:
    "Could not compile stylesheet".
    How can I display the real cause of the error directly on the web page?
    Thanks,
    Andrea

    This code is part of a bigger project that let developers edit XSL stylesheets through a file upload on the system and we can't impose the use of any tool for checking the xsl. So, I need to display the transformer error on the web page.I see. This code is part of an editorial/developmental tool for developers to create and edit XSL stylesheets.
    As part of the editorial process, XSL errors during editing can be considered a normal condition. In other words, it is normal to expect that the developers will generate XSL errors as they are developing stylesheets.
    In this light, handling the XSL transformation errors is a business requirement that you need to handle. Using the Java Exceptions mechanisms, e.g. try / catch are inappropriate to handle business requirements, in my opinion.
    I suggest that you look at how you handle the occurence of XSL errors differently than what you currently have. You need to:
    (1) capture the Transformation exception on the server;
    (2) extract the message from the exception and put it into a message that can be easily understood by the user;
    The current error message that you have going to the web browser is not useful.
    And you should not have the Transformation exception sent to the web browser either.
    What you are attempting to do with the exception is not appropriate.
    Handle the Transformation exception on the Business tier and use it to create a useful message that is then sent to the Presentation tier. In other words, do not send Java exceptions to web browser.
    />

  • My note book ( Pavilion G series) displays a fan error on startup .

    My note book  ( Pavilion G series) displays a fan error on startup and fails to boot unless I press Enter. The cooling fan is not working. What to do. i purchased it just a month back. i am using windows 7.

    Hi,
    Are you talking about the whole computer or just its fan (1 month old) ? Please contact HP directly to get help:
    http://www8.hp.com/us/en/hp-information/summary/ww-contact-us.html
    http://welcome.hp.com/country/w1/en/support.html
    Good luck.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

Maybe you are looking for

  • After Mavericks upgrade, I disabled iCloud / iCal connection. Now I can't make any changes to my calendar

    I had multiple bad experiences with my iPhone using iCloud and when I upgraded, realized too late, that my computer was now going to be tied to the Cloud. After I recovered from the stress-induced, post-tramatic syndrome from my iPhone / iCloud exper

  • Trouble with array to spreadsheet string

    I am having trouble with the array to spreadsheet string. I have a 1-d array of string, the output spreadsheet string never puts a space on the first row, but all others. example: 05:59:29.170    00000101     8        00 00 07 00 0B 0E 0D 0C  05:59:2

  • Are there any OSS notes side effects.

    Hello Everyone,                         Can anyone tell me:    Will there be any side effects if we implement OSS Notes in BW. Did anyone face this problem, i'm just asking you because we need to transfer a note from BW dev to BW prd, just wanted to

  • MaxL statement for substitution variables

    Hi,I'm trying get a script together that changes all my substitution variables, and I'm able to do this using:alter database application.database set variable string;but how do I set the substitution variables for (all apps) and (all dbs)?Any help ap

  • Photoshop CS4 Problem - Black Screen

    Whenever I try to use the selection or cropping tool on an image, the image/screen turns into black, so it's impossible to use the tools. Removed CS2, reinstalled CS4, still the same problem. Please help.