How to properly handle Exception thrown in a .tag file?
I've got a .jsp file that makes use of some custom tags, each defined in their own .tag file, and located in WEB-INF/tags. I'm having a lot of trouble with the scenario of cleanly dealing with an exception raised by scriptlets in either a .jsp file, and a .tag file. I'm using both Java and Tomcat 6....
Originally, I wanted to use .tag files in order to componentize common elements that were present in .jsp pages, as well as move ugly scriptlets out of .jsp pages, and isolate them in tag files with their associated page elements.
Things started getting hairy when I started exploring what happens when an exception is thrown (bought not handled) in a scriptlet in a .tag file. Basically, my app is a servlet that forwards the user to various .jsp pages based on given request parameters. The forwarding to the relevant .jsp page is done by calls to the following method:
servletContext.getRequestDispatcher("/" + pageName).forward(request, response);
Where 'pageName' is a String with the name of the .jsp I want to go to...
Calls to this method are enclosed in a try block, as it throws both a ServletException, and IOException...
When either my .jsp, or .tag throw an exception in a scriptlet, the exception is wrapped in a JSPException, which is then wrapped in a ServletException.
I can catch this exception in my servlet... but then what? I want to forward to an error page, however, in the catch block, I can't forward in response to this exception, as that results in an IllegalStateException, as the response has already been committed. So what do I do? How do I get from this point, to my "error.jsp" page?
It was suggested to me that I use the <% @ page isErrorPage="true" %> directive in my error.jsp,
and the in my real .jsp, use <%page errorPage="/error.jsp" %>.
This works great when the exception is thrown in my .jsp.... But when the exception is thrown in the .tag file... not so much...
My .jsp page was rendered up until the point where the <my:mytag/> (the tag with the offending raised exception) was encountered. Then, instead of forwarding to the error page when the error in the tag is encountered, the error page is rendered as the CONTENT of of my TAG. The rest of the .jsp is then NEVER rendered. I checked the page source, and there is no markup from the original .jsp that lay below the my tag. So this doesn't work at all. I don't want to render the error page WITHIN the half of the .jsp that did render... Why doesn't it take me away from the .jsp with the offending tag altogether and bring me to the error.jsp?
Then it was suggested to me that I get rid of those page directives, and instead define error handling in the web.xml using the following construct:
<error-page>
<exception-type>java.lang.Exception</exception-type>
<location>/error</location>
</error-page>
<error-page>
<error-code>404</error-code>
<location>/error</location>
</error-page>
For this, I created a new servlet called ErrorServlet, and mapped it to /error
Now I could mangle the end of the URL, which causes a 404, and I get redirected to the ErrorServlet. Yay.
However, exceptions being thrown in either a .jsp or .tag still don't direct me to the ErrorServlet. Apparently this error handling mechanism doesn't work for .jsp pages reached via servletContext.getRequestDispatcher("/" + pageName).forward(request, response) ????
So I'm just at a total loss now. I know the short answer is "don't throw exceptions in a .jsp or .tag" but frankly, that seems a pretty weak answer that doesn't really address my problem... I mean, it would really be nice to have some kind of exception handler for runtime exceptions thrown in a scriptlet in .tag file, that allows me to forward to a page with detailed stacktrace output, etc, if anything for debugging purposes during development...
If anyone has a few cents to spare on this, I'd be ever so grateful..
Thanks!!
Jeff
What causes the exception?
What sort of exception are you raising from the tag files?
Have you got an example of a tag file that you can share, and a jsp that invokes it so people can duplicate the issue without thinking too much / spending too much time?
My first instinct would be that the buffer is being flushed, and response committed before your Exception is raised.
What you describe is pretty much standard functionality for Tomcat in such cases.
Similar Messages
-
How to handle exception thrown in standard bo method in the workflow design
Hi Experts
how to handle exception thrown from standard bo method in the workflow design. For example, bo BUS2032, METHOD confirm. If the user cancel it, it will throw exception. In the workflow, how to catch this exception and add corresponding steps in the workflow.@jrockman li
Try to implement the logic that what ever you are performing in the BO mehtod in a FM and in the FM you have tab with name EXECPTIONS define the execption in that tab.Now in the BO method you call this FM and if the exception occurs by using RAISE you can raise the exception in the FM and based on the number of exceptions your sy-subrc value will be set
so when sys-subrc is not eq 0 then pass a value back t the workflow container., I think this will work.
a sample Snippet for understanding purpose
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = <path>
filetype = 'ASC'
IMPORTING
filelength = lv_len
TABLES
data_tab = l_txt_tab
EXCEPTIONS
file_write_error = 1 " If this Exception occurs
invalid_type = 2
no_authority = 3
unknown_error = 4
OTHERS = 10.
CASE sy-subrc.
WHEN 1. " SY-SUBRC value will be 1 then,
" Pass or set the value back to the workflow conatiner element
ENDCASE. -
Handling Exceptions thrown by EDT Thread?
Hi,
How to handle exceptions thrown by EDT Thread?. If anybody can give any link or any example, then it really helpful.
ThanksSystem.setProperty( "sun.awt.exception.handler", EventThreadExceptionHandler.class.getName() );
-
How to handle exceptions thrown by event
Hi all,
i have this slight problem, i'm trying to handle accessing a databse from a button click, i'm trying to simulate somebody logging on to a network. the code is as follows;
*@author James Taylor
*@version 30-11-2003
*Logon gui
import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
import java.sql.*;
public class LogonUI extends JFrame {
//instance variables
private JLabel userNameL;
private JPasswordField password;
private JButton logon;
ButtonHandler handler;
Connection con;
Statement stmt;
*Constructor initialises and creates UI, adds functionality to the button.
public LogonUI() throws SQLException, ClassNotFoundException, IllegalAccessException, InstantiationException{
super("Employee Logon");
Container c = getContentPane();
c.setLayout(new FlowLayout() );
//handles what happens when user presses the button
handler = new ButtonHandler();
userNameL = new JLabel("Please Enter Password:");
c.add(userNameL);
password = new JPasswordField(15);
c.add(password);
logon = new JButton( "Logon" );
//anonymous inner class that is created once the button is pressed.
//it connects to database to validate user
logon.addActionListener( handler );
c.add(logon);
c.setBackground( Color.pink );
setDefaultCloseOperation(DISPOSE_ON_CLOSE);
setSize(250,150);
setVisible(true);
*class that opens connection to validate user
private class ButtonHandler implements ActionListener {
public void actionPerformed(ActionEvent ae)throws SQLException, ClassNotFoundException, IllegalAccessException, InstantiationException{
try{
boolean isValidUser = false;
//Load mysql driver
Class.forName("com.mysql.jdbc.Driver").newInstance();
//make a connection
String url = "jdbc:mysql://localhost/flight";
con = DriverManager.getConnection(url)
//Create and instantiate a statement obj
stmt = con.createStatement();
//get a result set
ResultSet rs = stmt.executeQuery("SELECT Password FROM employees");
//Iterate through the result set
while ( rs.next() ){
String savedPassword = rs.getString("Password");
if (password.getText().equals(savedPassword) ){
isValidUser = true;
JOptionPane.showMessageDialog(null,"Yipeeeee");
if (isValidUser == false){
JOptionPane.showMessageDialog(null,"Invalid Password");
stmt.close();
con.close();
}catch(Exception e){ e.printStackTrace();}
public static void main (String[] args) throws SQLException, ClassNotFoundException, IllegalAccessException, InstantiationException{
LogonUI testAirApp = new LogonUI();
}When the user presses the button the app tries to validate the user.
I have not been able to test the code due to SQL Exceptions thrown in the handler class, and when i try and throw them up from here i get;
LogonUI.java:52: actionPerformed(java.awt.event.ActionEvent) in LogonUI.ButtonHandler cannot implement actionPerformed(java.awt.event.ActionEvent) in java.awt.event.ActionListener; overridden method does not throw java.lang.InstantiationExceptionAny ideas on my code and how to handle these exceptions will be very appreciated. Regards, JamesTurn your checked exceptions into unchecked exceptions and retrieve the cause later:
RuntimeException unchecked = new RuntimeException(checked);
Throwable t = unchecked.getCause();Stephen -
Handling exception thrown by parseEscapedXML function
Hi,
I am using parseEscapedXML function to parse an xml string in the below format .
<parameters><item id="" value=""/><item id="" value=""/></parameters>
The exception thrown when input is in incorrect xml format is not caught using catchAll.
Kindly check if anyone have any idea about this.Hi,
Ideally your BAPI shouldn't raise exceptions - it is much better to use the RETURN table from your BAPI with any relevant messages - have a look at the majority of standard SAP BAPI's in transaction BAPI.
This way, the only exceptions your try... catch block needs to handle are those related to the actual calling of your BAPI, not it's functionality.
Also, if you can successfully run the BAPI in SE37 but it fails when called from your WD application, try using the FBGENDAT functionality to capture what data is being passed to SAP from your Web Dynpro application. All it takes is a simple mistake in setting up your contexts or logic and you won't be calling your BAPI correctly.
Hope this helps,
Gareth. -
How can I handle exception? - to give user more friendly notification
Hi!
User gets an error:
'Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-20001: ORA-20001: Current version of data in database has changed since user initiated update process. current checksum =...'
How can I handle this exception (when two users want to modify the same set of data at the same time)? I would like to hide the above error message and give user more friendly notification.
Thanks in advance,
TomThanks Vikas for your answer.
These workarounds are really creative and I want to use one of them. BUT my problem is to 'catch' the exception/error when two users want to modify the same set of data at the same time.
Those solutions which we can read about in this link you gave me describe handling exceptions in pl/sql processes. How can I catch the error I am talking about in pl/sql code?
Code would be like this:
DECLARE
two_users EXCEPTION;
BEGIN
IF --catch the error
THEN RAISE two_users;
END IF;
EXCEPTION WHEN two_users
THEN :HIDDEN_ITEM := 'Error Message';
END;
What should I put in a place where there is '--catch the error' ??
Thanks in advance,
Tom -
How to get accessed to pagecontext in a tag file in JSP2.0
I am writing a custom tag using JSP 2.0 to clean up the JSP pages for a big website.
Now a question comes up. I need to access pageContext variable in my tag file since I need to get the bean using a lookup method. I know in JSP2.0 there is jspContext implicit object instead of pageContext. But this is not the end of the story.
then I read Denis' post. and his solution are these two line codes:
<%
PageContext pageCtx = (PageContext)jspContext;
tagBean.init(pageCtx);
%>
I am confused here what the tagBean here. Is that a webBean? and how can I get this object in my tag so that I could initialize the pagecontext and reference it?
thanks in advanceThe lookup method just returned me a null. So I believe that there is
some trick behind this simple cast.First I would double check your basic assumptions.
Is the attribute you are looking up actually there? That would be a simpler explanation for why the lookup method returned null.
Try a jspContext.findAttribute() , specific request/session.getAttribute() to see if you actually retrieve anything.
Also be aware that the RequestUtils.lookup() method has been deprecated in Struts 1.2, in favour of org.apache.struts.taglib.TagUtils.lookup().
Cheers,
evnafets -
How webDynpro handles exception thrown by adaptive web service
Hi people,
in design time, webdynpro can handle web service's exception by defining return structure based on the <b>Fault </b>which is the exception defined in the web service. But in the runtime, when web service throws exception, webDynpro can not handle it, WD framework will throw nullPointerException.
The reason behind it might be: let me assume a WS <b>getEmployeeNumber</b>, the WS returns employee number as a element <b><EmployeeNumber></b>12345<b></EmployeeNumber></b> in the return SOAP document. I think WD always expects the element <b><EmployeeNumber></b> in the SOAP document, but in case of exception, web service throws exception and will not provide employee number in the return SOAP which is logical, thus the element <EmployeeNumber> will not be available in the SOAP document, therefore causes WD framework to raise <b>nullPointerException</b>.
So any of you have any suggestion to make webDynpro working in case an exception is thorwn in the web service?
Thanks for your infor
JaysonTo encourage people, I include the text of the xml response from the test of Web Service Navigator window :
HTTP/1.1 500 Internal Server Error
Connection: close
Server: SAP J2EE Engine/6.40
Content-Type: text/xml; charset=UTF-8
Set-Cookie: <value is hidden>
Date: Mon, 27 Mar 2006 09:30:50 GMT
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Client</faultcode>
<faultstring>Hi, I'm the new exception</faultstring>
<detail>
<ns1:throwException_com.sap.demo.testexception.TestException xmlns:ns1='urn:TestExceptionServiceWsd/TestExceptionServiceVi' xmlns:pns='urn:com.sap.demo.testexception'>
<pns:message>Hi, I'm the new exception</pns:message>
</ns1:throwException_com.sap.demo.testexception.TestException>
</detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
I've found too a strange workaround :
The fact seems that you have to design your session bean without throwing custom exceptions, then generates the VI and after that, adding the custom exceptions throws.
Or if you don't want to modify the bussiness methods.
The point is to eliminate the exceptions (faults) sections from the VI and WS deployment descriptor.
You have to access from Package Explorer, and edit with a Text Editor the following files :
*.videf from the package, and remove <Function.Faults> sections
ws-deployments-descriptor.xml in META-INF, and remove <fault> sections
After that, the WS Configurations will give an error, so delete the configuration and remake it. Now, the VI stills looks bad, so close the project, close NetViewer and reopen it to flush whatever cache it seems to keep.
Now, your VI will looks better without exceptions, and you'll get their messages when you catch them in the WebDynpro applicattion.
So, now the question is: Could anybody explain me why ? -
How can we handle Exception Branch in BPM effectively
Hi,
I want to capture errors occurred in PM during runtime by using special "Exception Branch".
For example If i define exception branch for one black then any step within that block thrown error then automatically it calls that corresponding exception branch within that block. Now i want to identify which step within that block has thrown error and what is the error.How can i achieve this?
Thanks and Regards,
SudhakaraHi Sudhakara,
Generally we use control step to raise an exception, Please go through this link for better understanding:
http://help.sap.com/saphelp_nw04/helpdata/en/bb/e1283f2bbad036e10000000a114084/content.htm
Also,
Exception Handling:
http://help.sap.com/saphelp_nw04/helpdata/en/33/4a773f12f14a18e10000000a114084/content.htm
I hope it helps,
Thanks & Regards,
Varun Joshi -
How can i handle exceptions in bulck collect?
Hi All,
in case of any exception will raise i just print the emp_no prefix with sqlerrm.but i got sqlerrm only ,now the emp_no is blank.how can i print my emp_no.
SET serveroutput ON;
DECLARE
TYPE employee_tab IS TABLE OF emp_ins%ROWTYPE
INDEX BY BINARY_INTEGER;
CURSOR c1 IS SELECT * FROM emp_ins ORDER BY emp_no;
Employee_data employee_tab;
lv_n_emp_no NUMBER;
lv_n_count NUMBER:=1;
BEGIN
IF c1%isopen THEN
CLOSE C1;
END IF;
OPEN C1;
FETCH C1 BULK COLLECT INTO Employee_data;
CLOSE C1;
FORALL i IN Employee_data.FIRST..Employee_data.LAST
INSERT INTO emp_test VALUES Employee_data(i);
lv_n_emp_no:=Employee_data(lv_n_count).emp_no;
lv_n_count:= NVL (lv_n_count, 1) + 1;
COMMIT;
Employee_data.DELETE;
EXCEPTION
WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE(lv_n_emp_no||','||SQLERRM);
END;
Regards
Gopinath MSQL> create table emp_test as select * from emp where 1=2
2 /
Tabel is aangemaakt.
SQL> alter table emp_test add constraint emp_ck check (sal > 1500)
2 /
Tabel is gewijzigd.
SQL> declare
2 type t_employee_tab is table of emp%rowtype index by binary_integer;
3 r_employee_data t_employee_tab;
4 e_bulk_errors exception;
5 pragma exception_init ( e_bulk_errors, -24381 );
6 begin
7 select *
8 bulk collect into r_employee_data
9 from emp
10 order by empno
11 ;
12 forall i in r_employee_data.first..r_employee_data.last save exceptions
13 insert into emp_test values r_employee_data(i);
14 exception
15 when e_bulk_errors then
16 for j in 1..sql%bulk_exceptions.count
17 loop
18 dbms_output.put_line
19 ( r_employee_data(sql%bulk_exceptions(j).error_index).empno
20 || ', ' || r_employee_data(sql%bulk_exceptions(j).error_index).ename
21 || ', (sal=' || r_employee_data(sql%bulk_exceptions(j).error_index).sal
22 || ') :' || sqlerrm(-sql%bulk_exceptions(j).error_code)
23 );
24 end loop;
25 end;
26 /
7369, SMITH, (sal=800) :ORA-02290: check constraint (.) violated
7521, WARD, (sal=1250) :ORA-02290: check constraint (.) violated
7654, MARTIN, (sal=1250) :ORA-02290: check constraint (.) violated
7844, TURNER, (sal=1500) :ORA-02290: check constraint (.) violated
7876, ADAMS, (sal=1100) :ORA-02290: check constraint (.) violated
7900, JAMES, (sal=950) :ORA-02290: check constraint (.) violated
7934, MILLER, (sal=1300) :ORA-02290: check constraint (.) violated
PL/SQL-procedure is geslaagd.
SQL> select * from emp_test
2 /
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
7499 ALLEN SALESMAN 7698 20-02-1981 00:00:00 1600 300 30
7566 JONES MANAGER 7839 02-04-1981 00:00:00 2975 20
7698 BLAKE MANAGER 7839 01-05-1981 00:00:00 2850 30
7782 CLARK MANAGER 7839 09-06-1981 00:00:00 2450 10
7788 SCOTT ANALYST 7566 09-12-1982 00:00:00 3000 20
7839 KING PRESIDENT 17-11-1981 00:00:00 5000 10
7902 FORD ANALYST 7566 03-12-1981 00:00:00 3000 20
7 rijen zijn geselecteerd.Regards,
Rob. -
How to throw bundled exceptions thrown by checkErrors()
Hi,
I call pl/sql to do update, and call checkErrors() , the code looks like following, but it doesn't display read friendly message on the screen. What is the right way to throw bundled exception from checkErrors() method?
try{
xxg2cGoalPk.startWf (conn,
new BigDecimal(srpGoalHeaderId),
new BigDecimal(userId),
returnStatus,
msgCount,
msgData);
int msgCount1 = 0;
if(msgCount[0] != null){
msgCount1 = Integer.parseInt(msgCount[0].toString());
String returnStatus1 = returnStatus[0];
String msgData1 = msgData[0];
OAExceptionUtils.checkErrors(tx,msgCount1, returnStatus1, msgData1);
catch(OAException e) {
e.printStackTrace();
throw new OAException(e.getDetailMessage(),OAException.ERROR);
thanks
LeiWhat Shiv said is only an alternative, but what you are using is correct.I haven't tested but as per javadoc of
OAExceptionUtils.checkErrors(tx,msgCount1, returnStatus1, msgData1);
will itself raise bundled exceptions. You need to write this line outside try/catch block.
--Mukul -
Hi All,
I have an issue with processing composite fonts with adobe pdf library (v 9.1 ).
While processing a pdf file having composite fonts, the pdf library is throwing an exception.
The api which throwed exception is "PDPageAcquirePDEContent()". In my code i am calling PDDocGetNumPages(), PDDocAcquirePage() before this api is called, but all those functions suceeded. In the HANDLER, using the ASGetErrorString(), i got this exception error as "The encoding (CMap) specified by a font is missing."
Now coming to the input file (which is also attached), this document have three different composite fonts ( details are given below )
Font Name : TicketBold, Bold(Embedded)
Font Type : Trueype (CID)
Encoding : Identity-H
Font Name : Times-Roman (Embedded)
Font Type : Type 1 (CID)
Encoding : Identity-H
Font Name : TimesNewRomanPSMT (embedded)
Font Type : TrueType(CID)
Encoding: Identity-H
If i convert all the composite fonts to outline using pitstop before processing, it works fine.
So my question is that whether pdf library doesnt support composite fonts (which i dont think so ) or i need to do a special handling for these kinds of fonts in my application ( which i strongly belive ). If its the latter case, please let me know how to handle it in my application.
thanks in advance
best regards
~jafeelHi Leonard,
Thanks for your reply. May i ask you which sample of the PDF Library you used to test my scenario.
One question i would like to put to you beofre going for filing a formal issue to Adobe will be does this issue has anything to do with the initialization of the pdf library?
What i meant is that when we call the PDFLInit() we pass a PDFLDataRec structure which is initialized by various path to font folders, cmap folders and unicode folders. Whether if i miss any of these folders will it cause this issue???
thanks again
regards
~jafeel -
I'm having problems backing up a Hyper-V virtualized Exchange 2007 server with DPM 2012. The guest has one VHD for the OS, and two pass-through volumes, one for logs and one for the databases. I have three protection groups:
System State - protects only the system state of the mail server, runs at 4AM every morning
Exchange Databases - protects the Exchange stores, 15 minute syncs with an express full at 6:30PM every day
VM - Protecting the server hosting the Exchange VM. Does an child partition snapshot backup of the Exchange server guest with an express full at 9:30PM every day
The problem I'm experiencing is that every time the VM express full completes I start receiving errors on the Exchange Database synchronizations stating that a log file discontinuity was detected. I did some poking around in the logs on the Exchange server
and sure enough, it looks like the child partition snapshot backup is causing Exchange to truncate the log files even though the logs and databases are on pass-through disks and aren't covered by the child partition snapshot.
What is the correct way to back up an entire virtualized Exchange server, system state, databases, OS drive and all?I just created a new protection group. I added "Backup Using Child Partition Snapshot\MailServer", short-term protection using disk, and automatically create the replica over the network immediately. This new protection group contains only the child partition
snapshot backup. No Exchange backups of any kind.
The replica creation begins. Soon after, the following events show up in the Application log:
=================================
Log Name: Application
Source: MSExchangeIS
Date: 10/23/2012 10:41:53 AM
Event ID: 9818
Task Category: Exchange VSS Writer
Level: Information
Keywords: Classic
User: N/A
Computer: PLYMAIL.mcquay.com
Description:
Exchange VSS Writer (instance 7d26282d-5dec-4a73-bf1c-f55d5c1d1ac7) has been called for "CVssIExchWriter::OnPrepareSnapshot".
=================================
Log Name: Application
Source: ESE
Date: 10/23/2012 10:41:53 AM
Event ID: 2005
Task Category: ShadowCopy
Level: Information
Keywords: Classic
User: N/A
Computer: PLYMAIL.mcquay.com
Description:
Information Store (3572) Shadow copy instance 2051 starting. This will be a Full shadow copy.
=================================
The events continue on, basically snapshotting all of Exchange. From the DPM side, the total amount of data transferred tells me that even though Exhange is trunctating its logs, nothing is actually being sent to the DPM server. So this snapshot operation
seems to be superfluous. ~30 minutes later, when my regularly scheduled Exchange job runs, it fails because of a log file discontinuity.
So, in this case at least, a Hyper-V snapshot backup is definitely causing Exchange to truncate the log files. What can I look at to figure out why this is happening? -
I work on Java application that utilitzes the .chm and .jar file (which include the .htm files) to display our applications help documentation. We recently upgraded from RoboHelp 8 to RoboHelp 10. The .htm files that were generated with RoboHelp 8 display fine. However, the new .htm files generated by RoboHelp 10 seem to ignore the CSS stylesheets used. I compared one of the .htm files from RoboHelp 8 to the same .htm file in RoboHelp10. I did notice differences within the files. Can you tell me what the differences are, regarding the usage of CSS stylesheets, between RoboHelp 8 & RoboHelp 10?
Thank you.You need to post a bug report to get Adobe's attention. This is a user to user forum. Please follow this link.
http://www.Adobe.com/cfusion/mmform/index.cfm?name=wishform&product=38
Not sure but I believe it may be a bug in the Microsoft Help Compiler over which Adobe have no control. Microsoft last updated in 2004. Good luck!
See www.grainge.org for RoboHelp and Authoring tips
@petergrainge -
How can we handle user defined exceptions in ejbStore() of entity bean
Accroding to my knowledge in ejbStore we can not handle user defined exceptions. Can anybody help on this????
In my case I am calling a method from ejbsotre() . In that method i wanted to put some checks according to that i wanted to throw exceptions.
In this case how would I handle exceptions.
Can you suggest in this case,please !!!
Maybe you are looking for
-
ITunes lost all the names of my audio files
I can appreciate that there are some people who need to have organisation forced upon them because they are incapable or too lazy to do it for themselves. I personally hate apps which take control of my computer or file system and put things where I
-
Mac Pro (2013) with Mavericks and Mac Office Excel
Using MAC Excel VBA, and obviously with my personally written Excel VBA application, I have discovered that in a multi-Workbook Excel app, I am unable to "Open" additional Workbooks (xlsm-type) successfully from any Workbook OTHER THAN with the very
-
The page for License Keys in the CMC is blank
After I had installed XI 3.1 inkluding some desktop tools, I had to uninstall Xcelsius. The result was that the License Keys page in the CMC turned blank. I am not able to add/change or even see my license keys anymore. How to get this back?
-
hello friends, I am new to using Linux . could you help in knowing the advantages of using Linux and Apache server as my Web server for my java and jsp. Do i have to use a third party servlet container line Servlet Exec for windows . Thanks for any h
-
GX740 computer - Display driver stopped responding and has recovered
GX740 computer - Display driver stopped responding and has recovered hi, As I told in the title I am experiencing this message: "Display driver stopped responding and has recovered" only when I am playing games. The symptoms are a freeze of the scree