Grokbase
Topics Posts Groups | in
x
[ help ]

Why isn't ActionsErrors throwable?

View PostFlat  Thread  Threaded | Next >
Why isn't ActionsErrors throwable?
| +1 vote
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Hello,

I've got a design question concerning the design of
action classes and action class inheritance. I am
trying to implement a reusable method in an action
class. This method should be in a class named
MyActionBase:

protected MyBusinessObject doSomething(...) throws
ActionErrors

The question is: Why doesn't ActionErrors extends
Throwable? Does it make sense to make a change in the
framework class org.apache.struts.action.ActionErrors
and make it throwable?

Thanks,

Tillmann
---
[email protected: tillmanns...@yahoo.de]

__________________________________________________________________
Do You Yahoo!?
Gesendet von Yahoo! Mail - http://mail.yahoo.de

Thread : Why isn't ActionsErrors throwable?
1)
Hello, I've got a design question concerning the design of action classes and action class...
2)
Jim Richards Because exceptions are slow, and can only handle one error at a time. The design as it is, allows...
3)
Chris Butler essentially ActionErrors is a message container more than an exception. i think the name reflects...
4)
Hi, You are right, ActionErrors is a container, but ActionError is sth. like an error class with a...
spacer
View PostFlat  Thread  Threaded | Next >