ts pagelet.
-Original Message-
From: Pitre, Russell [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 14, 2004 2:07 PM
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] Throwing exception question
Right!but doesn't...
Here's what the jsp looks like..
<%
Initi
s corresponding bean implementation both
throw MaxRequestObjectsException...
Thanx-
Russ
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rod
Macpherson
Sent: Wednesday, January 14, 2004 4:50 PM
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] Throwing exception question
The JSP compile should fail in that case.
-Original Message-
From: Pitre, Russell [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 14, 2004 12:38 PM
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] Throwing exception question
Yah, I have my MaxNumberOfRequestsException class
PROTECTED]
Subject: Re: [JBoss-user] Throwing exception question
You'll need:
public class MaxNumberOfRequestsException extends Exception
rather than
extends RuntimeException
or whatever you are using to avoid declaring it as being thrown.
RuntimeExceptions and Errors do not need to be ha
You'll need:
public class MaxNumberOfRequestsException extends Exception
rather than
extends RuntimeException
or whatever you are using to avoid declaring it as being thrown.
RuntimeExceptions and Errors do not need to be handled.
Regards,
Adrian
On Wed, 2004-01-14 at 19:07, Pitre, Russell wro
Hello All-
Using: jboss3.2.3-tomcat
I have a class that will throw a user defined exception.
My method:
public ArrayList getPersistableObjects (String className,
String keys) {
if(cachelessKeyValues.length() >
MAX_NUMBER_OF_REQUESTS) {
throw new
MaxNumberOfRequestsException("