-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Thomas,

To prevent this behaviour, register a "strict" error handler, which will
propagate the errors to the application layer.

The code looks something like below:

// Create a new registry builder, specifying the strict error handler
RegistryBuilder builder = new RegistryBuilder(new StrictErrorHandler());
// Add the default module provider
builder.addDefaultModuleDescriptorProvider();
// Boot the registry
Registry registry = builder.constructRegistry(Locale.getDefault());

I hope that helps,

Cheers,

Johan

hamtho wrote:
| Hi,
|
| currently my hivemind simple ignores any erroneous hivemind-contributions,
| which might lead to some errors later on. Is there any chance to stop
| hivemind from deploying/further processing if there is any error
instead of
| ignoring this contribution?
|
| Any help is greatly appriciated
|
| Thomas

- --
you too?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIDFwcpHYnED7evioRApbbAJ9o5EySNZKaI9O/Ogz+pMJq3tFIKgCdHrNn
lTGXCQMZ3y88r1Tm37lFmOQ=
=1BRn
-----END PGP SIGNATURE-----

Reply via email to