incubator-empire-db-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Döbele <>
Subject re: EMPIREDB-99 Remove optional support for old style error handing
Date Fri, 01 Apr 2011 07:54:25 GMT
Hi Franics,

sorry but currently a day just hasn't got enough hours to do it all.

In my view the removal of the old style error handling will be the biggest API change since
we entered incubation and thus it will affect backwards compatibility for code that is currently
not using exceptions.
Ideally code that is currently using exceptions (ErrorObject.setExceptionsEnabled(true)) -
like the examples - should still work without changes if possible.

Basically we need to remove the class ErrorObject and change all Boolean return values to
void. But this probably sounds easier as it is. However I would like to keep the EmpireException
and the error type definition (ErrorType) as it is.

Once the core is changed, the most difficult task will probably be to apply the changes to
the empire-struts2-extentions.

We should make a code branch for this.

These are just some of my ideas.
Everyone who wants to bring in ideas is welcome.


Francis De Brabandere wrote:
> from: Francis De Brabandere []
> to:
> re: EMPIREDB-99 Remove optional support for old style error handing
> Rainer,
> I see this one is assigned to you:
> Maybe you could define it a bit more (how far do we go, what
> compatibility (if any) do you expect with previous versions) so that
> anybody from the team can have a go at it?
> Cheers,
> Francis
> --
> Microsoft gives you windows, Linux gives you the whole house.

View raw message