It just dawned on me (yes, I'm slow, I know) that the RepeatableOperationExceptionMapper class that Clemens presents here is just the precise kind of thing that would work wonders as custom Exception Replacement Handler for a policy in the Exception Handling Application Block of the Enterprise Library. Go figure.

It would be really cool to have similar translator replacements for common SQL and Oracle exception codes (say, replace a Unique Constraint Violation with a RowAlreadyExistsException)...


Tomas Restrepo

Software developer located in Colombia. Sr. PFE at Microsoft.