Hi all,
        I am using a DispatchAction in my application. I have declared
the
Type of the exception that will be raised in case one method raises an
exception..
But I am stuck with the fact that i have, in 4 methods, the same type of
Exception but with different message.
When I declare the exception in struts-config, I can specify only one 
Key ..

And I would need a way to parametrize the message of the exception, or
to
Be able to specify which message to use for different methods.

For example

I have following methods (and associated exceptions)

Create()  / failed to create product

Delete() / failed to delete product

Find()  / product not found


All of those methods raise the same exception (ProductException) but
with different messages.
How can I make so that I can raise same exception, with different
messages, from a dispatch action?

Thanx in advance and regards
        marco


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to