On Aug 29, 2012, at 10:56 AM, Paul Sandoz <paul.san...@oracle.com> wrote:

> Hi Joe,
> 
> I would urge you to reconsider errors using SL, since SL is being explicitly 
> called out as part of the specification. 
> 
> You can make any such SL-related errors more meaningful (yes, i want the 
> stack trace telling what bits of SL code were called!) and remove any 
> potential for CCEs, due to linkage errors [*], by passing the SCE instance to 
> the constructor of DatatypeConfigurationException or the 
> FactoryConfigurationError variants e.g.
> 
> 244         } catch (ServiceConfigurationError e) {
> 245             throw new DatatypeConfigurationException(""Provider " + 
> className + " could not be loaded or instantiated using 
> java.util.ServiceLoader", e);
> 

Doh, please shoot me now, i was labouring under the misapprehension that SCE 
was extending from Exception and not Error.

Apologies for the confusion.

Paul.

Reply via email to