Function ExceptionChainingObjectFactory.factory

Factory an object, and catch any exception wrapping it in a library exception to be rethrown further.

Object factory ();

Returns

Object created object.